jbangdev / jbang

Unleash the power of Java - JBang Lets Students, Educators and Professional Developers create, edit and run self-contained source-only Java programs with unprecedented ease.
https://jbang.dev
MIT License
1.43k stars 159 forks source link

help command suggests that init command accepts parameters #416

Open grumpyf0x48 opened 4 years ago

grumpyf0x48 commented 4 years ago
jbang 
jbang is a tool for building and running .java/.jsh scripts and jar packages.
Usage: jbang [-h] [--verbose | --quiet] [COMMAND]

  jbang init hello.java [args...]
        (to initialize a script)
...

Does init command accepts parameters ? I don't think so.

maxandersen commented 3 years ago

currently they are ignored - but we could actually take that into consideration when generating the code for it ...

but for now this is a consequence on the inheritance of the picocli commands - which isn't trivial to fix for now but also doesn't do any damage thus keeping open as known issue.