Returns instance of ProgramArgs, which allows working on parsed data.
Program model by default adds version flag and help flags and subcommand which need to be
handled by the caller. If you want to have the default behavior, use parse which handles
above flags.
args array is taken by reference, after call it points to first not-parsed argument (after --).
Parses args.
Returns instance of ProgramArgs, which allows working on parsed data.
Program model by default adds version flag and help flags and subcommand which need to be handled by the caller. If you want to have the default behavior, use parse which handles above flags.
args array is taken by reference, after call it points to first not-parsed argument (after --).