-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Feature Request: command-line usage purely on CLI #3054
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
Comments
The part about the splash screen and error popups is already reported at #1981, so let's focus this issue about adding --version and --help (which seem like a good idea to me). Btw, you say the documentation is always behind, but I actually think the commandline manpage is the single piece of documentation that is properly up-to-date always (since it is contained inside the git repository, so changes to the manpage can be merged alongside with the corresponding code changes). |
Hi agreed. thx |
Yup, totally :-) |
It gets worse, trying on a headless machine via SSH:
results in:
Having experienced similar issues with running OpenOffice in batch mode for converting documents, I remembered to install the Xvfb X server and wrapping the whole arduino command in a shell script. If it's not possible to get rid of AWT in headless mode, at least the documentation should contain a hint. Should I add a section "ENVIRONMENT" with a hint to DISPLAY and how to work around the issue to the man page and then pull request? https://github.com/arduino/Arduino/blob/master/build/shared/manpage.adoc - I would basically include this snippet as example work around:
https://github.com/arduino/Arduino/blob/master/build/shared/manpage.adoc |
@mschlenker yes indeed that's the way we execute the tests on our linux box. We are developing a pure cli tool and I hope we'll release it in the coming months |
OK, I'll update the man page accordingly. |
👍 |
As for #1981, closing as wontfix. Fixing would require dismantling the IDE. We make small steps everyday, but can't really set a schedule |
Hi
when using the command-line I would expect a pure command-line. - So no Window handling at all.
I tried it on OSX and Windows using 1.6.1 and nightly build.
After starting the command-line I see the Arduino logo popping up.
Also in case of an error (unknown option) the message this is given in a window not on the CLI.
To make the Arduino IDE more useful it would be better to handle everything purely on CLI.
This would allow the integration of the CLI into other projects, scripts, batch-jobs.
Maybe it would also be helpful to have some cli commands integrated like:
--version
--help (showing a list of available commands) - specially the documentation update is always behind and the help would might be solving this to some level
thanks for the good work you do.
Jipp
The text was updated successfully, but these errors were encountered: