question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add `--help` CLI argument which prints help

See original GitHub issue

Currently 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:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
oleg-nenashevcommented, Oct 12, 2019

It was released in https://github.com/jenkinsci/jenkinsfile-runner/releases/tag/1.0-beta-10 . Thanks you for your contribution!

1reaction
oleg-nenashevcommented, Oct 9, 2019

Should be released soon

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found