excute

0.1.3 • Public • Published

excute NPM version NPM downloads Build Status

Execute any code and get result on your machine.

preview

Install

It's excute not execute!

$ npm install -g excute

Usage

# see https://glot.io/account/token 
$ excute -t API_TOKEN
 
# run js code 
$ excute try.js
 
# run swift code 
$ excute try.swift -l swift
 
# run rust code 
$ excute try.rs -l rust
 
# execute a string 
$ excute -s "echo $PATH" -l bash

For API token, please visit: https://glot.io/account/token
For all supported languages, please visit: https://run.glot.io/languages

Help

$ excute -h
 
  Execute any code and get result on your machine.
 
  Usage:
    excute <file> -l [language]
 
  Options:
    -s/--string:        Execute a string instead of a file
    -t/--token:         Set access token, see https://glot.io/account/token
    -l/--language:      Run in specific language, javascript by default
    -p/--pretty:        Pretty print result in a box
    -v/--version:       Print version
    -h/--help:          Print help (You are here!)

License

MIT © EGOIST

Readme

Keywords

Package Sidebar

Install

npm i excute

Weekly Downloads

1

Version

0.1.3

License

MIT

Last publish

Collaborators

  • kchan