Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t2 run needs flags #79

Closed
Frijol opened this issue May 4, 2015 · 0 comments
Closed

t2 run needs flags #79

Frijol opened this issue May 4, 2015 · 0 comments
Assignees

Comments

@Frijol
Copy link
Member

@Frijol Frijol commented May 4, 2015

Current status: t2 run <index.js> will push index.js to RAM and run it immediately.

Spec: T2 CLI spec
tessel run <index.js> [--lan | --usb]

Run the file in RAM immediately

$ tessel run --help
>
> Usage: /usr/local/bin/iojs t2 run <entryPoint> [options]
>
> entryPoint     The entry point file to deploy to Tessel
>
> Options:
>    --name NAME     The name of the tessel on which the command will be executed
>    --lan           Use LAN connection
>    --usb           Use USB connection
>    -v, --verbose   Choose to view more debugging information
>
> Deploy a script to Tessel and run it with Node

$ tessel run index.js
> Writing index.js to RAM on Mewcat (16kB)...
> Deployed.
> Running index.js...
> Hello world!
$ 

To do:

  • Create --help flag
  • Create --lan and --usb flags and make code push over the specified connection
@Frijol Frijol added the spec-cli label May 4, 2015
@Frijol Frijol mentioned this issue May 4, 2015
15 of 15 tasks complete
@Frijol Frijol self-assigned this May 7, 2015
@Frijol Frijol closed this in fd51362 May 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.