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

Request: add exec command #19

Closed
otbe opened this issue Nov 12, 2016 · 2 comments
Closed

Request: add exec command #19

otbe opened this issue Nov 12, 2016 · 2 comments

Comments

@otbe
Copy link

otbe commented Nov 12, 2016

Hi,

I really like nodemcu-tool, but one feature I really miss compared to nodemcu-uploader is the exec command. It will run a local file on my esp and exit.

Something like:

nodemcu-tool exec test.lua

Is this something you can add to nodemcu-tool?

Thanks!

@AndiDittrich
Copy link
Owner

The easiest way is to use a bash script like

NMCU_BIN=node bin/nodemcu-tool.js

$NMCU_BIN upload $1
$NMCU_BIN run $1

but if you like, i can add an additional --run option (like the one used for the temrinal) to the upload command

@AndiDittrich
Copy link
Owner

implemented in v3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants