-
Notifications
You must be signed in to change notification settings - Fork 350
Open
Description
Hello I want to implement customisation to swift argumentparser, Here are following changes want to do it in my cli
- changing default footer present in help command output
currently help command output coming like this
OVERVIEW: clisample
USAGE: clisample <subcommand>
OPTIONS:
--version show the version.
-h, --help show the help.
SUBCOMMANDS:
logs (default) Export logs for clisample processes.
See 'clisample --help' for more information.'`
so instead of See 'clisample --help' for more information.'
I want For more details, run 'clisample help <subcommand>'
- customise error string getting from validation error
currently output of error
Error: Missing value for '-t <time>
Help: -t <time> Time window (e.g. 10h, 30m, 2d).
Usage: clisample logs --time <time>
See 'clisample logs --help' for more information.
so I want error output with example and customised footer, like this
Error: Missing value for '-t <time>'
Help: -t <time> Time window (e.g. 10h, 30m, 2d).
Usage: clisample logs --time <time>
Example: clisample logs -t 5m
For more details, run 'clisample help <subcommand>'
If this feature is already available, please guide me, as i haven't seen anything on forums and any other place
Metadata
Metadata
Assignees
Labels
No labels