excute
Execute any code and get result on your machine.
Last updated 5 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install excute 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.3                                ...           latest (5 years ago)

4 Versions

  • 0.1.3                                ...           5 years ago
  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |