cli2man
cli2man copied to clipboard
Converts the help message of a program into a manpage
Since Python 2 has reached sunset, please update this very useful tool to Python 3. Thanks!
``` $ cli2man haiti File "/tmp/venv/bin/cli2man", line 1376 os.chmod(opt['--create-script'], st.st_mode | 0111 ) ^ SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal...
Trivial commit using 2to3 but not running the "long" fixer. This will fix #11.
Hi, my program has subcommands that have their own extensive --help output. ``` command -h command subcmd1 -h command subcmd2 -h command subcmd3 -h ``` Is there a quick way...
Hi, I can't figure out why the last character is cut off from my --help outputs "Name description" my command spits out something like this: ``` usage: command [-h] [-v]...