Add `--help` CLI argument which prints help
See original GitHub issueCurrently the only way to get help is to pass invalid command. It would be great to support -h
and --help
in Jenkinsfile Runner CLI.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
CLI Arguments with Help - Typer - tiangolo
In the First Steps section you saw how to add help for a CLI app/command by adding it to a function's docstring ....
Read more >Adding arguments and options to your Bash scripts - Red Hat
You can do those two things using command line options. ... Add the help function shown below to the code of the hello...
Read more >Help Texts - Click Documentation
Click makes it very easy to document your command line tools. First of all, it automatically generates help ... Commands and options accept...
Read more >argparse — Parser for command-line options, arguments and ...
The program defines what arguments it requires, and argparse will figure out how to parse those out of sys.argv . The argparse module...
Read more >How can I add a help method to a shell script? - Stack Overflow
The first argument to a shell script is available as the variable $1 , so the simplest implementation would be
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It was released in https://github.com/jenkinsci/jenkinsfile-runner/releases/tag/1.0-beta-10 . Thanks you for your contribution!
Should be released soon