You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usage: augur curate titlecase [-h] ...Applies titlecase to string fields in a metadata recordoptions: -h, --help show this help message and exitINPUTS: Input options ... OUTPUTS: Output options ...REQUIRED: --titlecase-fields ...OPTIONAL: --articles [ARTICLES ...] ...
It seems nicer to surface the subcommand arguments first then the shared I/O options.
So the desired help output would be:
usage: augur curate titlecase [-h] ...Applies titlecase to string fields in a metadata recordoptions: -h, --help show this help message and exitREQUIRED: --titlecase-fields ...OPTIONAL: --articles [ARTICLES ...] ...INPUTS: Input options ... OUTPUTS: Output options ...
Possible solutions
From brief look on StackOverflow, seems like we would need to change the order of parser._action_groups for each subcommand's parser.
The text was updated successfully, but these errors were encountered:
Paraphrasing @jameshadfield from #1506 (comment)
If we run
augur curate titlecase
--help we getIt seems nicer to surface the subcommand arguments first then the shared I/O options.
So the desired help output would be:
Possible solutions
From brief look on StackOverflow, seems like we would need to change the order of
parser._action_groups
for each subcommand's parser.The text was updated successfully, but these errors were encountered: