Skip to content

Needs "help" functions, such as "-list-boards" #78

Open
@mralexgray

Description

@mralexgray

Great work on this essential, much needed tool. So far, it is a bit unfriendly. A smart person should theoretically be able to use this without scouring the web. There does not seem to be a man page, and entering --help nets the same result as having entered nothing.. or nonsense, lol.

The output should stick to convention, provide help, and utility options...

Usage: 
     arduino_builder -hardware ... -tools ... -fqbn ...  [options]
     arduino_builder -list-boards [-hardware ...] [-tools ...]  # lists available board, per the current config
     arduino_builder -help # show this text
     etc....

Please refer Wikipedia's "Usage_message", if I am at all unclear.

You'll notice I mentioned a non-existent parameter, -list-boards. This type of option should be able to run, with our without "options", to help the user when formulating their own command-line.. so they don't have to resort to searching the web.. or worse yet.. your source code, like I did. (I don't know what my board's FQBN is! And I'm sure I am not the only one.)

--dump-prefs is another example of a command trhat should be allowed to be run "on its own", independent of a compile, or what not.

I could go on... and will, if there is a willingness to proceed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions