Tags: pythonhacker/argparse
Tags
Add helper method to check if file descriptor has been initialized wi… …th data (akamensky#89)
Arg can return the result pointer (akamensky#84) * Arg interface can return result pointer * Arg interface can return result pointer * Add examples & documentation * add docstring Co-authored-by: verburgs <joshua.verburg-sachs@hpe.com> Co-authored-by: vsachs <vsachs@hpe.com>
sub-command-help (akamensky#72) * Saving * Saving * Updated to use help first in subcommands * Updated tests for more coverage * More testing updates * Updated tests Co-authored-by: jackh <jackh@pop-os.localdomain>
add a boolean flag to message2string which indicates if the result st… …ring is ready to be returned + add tests (akamensky#60)
Custom help (akamensky#50) * Finishes addressing issue akamensky#29 Adds a Settings struct for creating parsers/commands with NewParserWithSettings or NewCommandWithSettings. Settings HelpDisabled - defaults false, set true to not generate a help argument for parser/command HelpSname - short name for the parser/command help argument. Can be left empty HelpLname - long name for the parser/command help argument. Leaving empty forces use of -h/--help when HelpDisabled is false NoExitOnHelp - defaults false, set true to not exit on help argument being parsed Should resolve all outstanding help argument issues. * Finishing Issue akamensky#29 Fixed merge conflict error due to check function return type change confusion. * Updated Settings Object to multiple function calls Added functions: DisableHelp SetHelp ExitOnHelp Added Command.exitOnHelp Added more tests to increase code coverage * Updated no help example