clap/examples/tutorial_derive
Ed Page 389ff4ff21 fix(help): Subcommand display order respects Command::next_display_order
Previous behavior:
- They'd be sorted by default
- They'd derive display order if `DeriveDisplayOrder` was set
  - This could be set recursively
- The initial display order value for subcommands was 0

New behavior:
- Sorted order is derived by default
- Sorting is turned on by `cmd.next_display_order(None)`
  - This is not recursive, it must be set on each level
- The display order incrementing is mixed with arguments
  - This does make it slightly more difficult to predict
2022-07-22 15:03:16 -05:00
..
01_quick.md fix(help): Subcommand display order respects Command::next_display_order 2022-07-22 15:03:16 -05:00
01_quick.rs perf(parser): Take up less memory with ArgAction::Count 2022-06-09 11:09:38 -05:00
02_app_settings.md docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00
02_app_settings.rs fix(parser): Deprecate args_override_self 2022-06-06 14:57:24 -05:00
02_apps.md docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00
02_apps.rs doc(derive): Update for value_parser 2022-05-20 20:02:23 -05:00
02_crate.md docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00
02_crate.rs docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00
03_01_flag_bool.md docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00
03_01_flag_bool.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
03_01_flag_count.md docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00
03_01_flag_count.rs perf(parser): Take up less memory with ArgAction::Count 2022-06-09 11:09:38 -05:00
03_02_option.md docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00
03_02_option.rs doc(derive): Update for value_parser 2022-05-20 20:02:23 -05:00
03_03_positional.md docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00
03_03_positional.rs doc(derive): Update for value_parser 2022-05-20 20:02:23 -05:00
03_04_subcommands.md fix!: Use display_name rather than bin_name in version output 2022-07-22 11:40:30 -05:00
03_04_subcommands.rs doc(derive): Update for value_parser 2022-05-20 20:02:23 -05:00
03_04_subcommands_alt.rs doc(derive): Update for value_parser 2022-05-20 20:02:23 -05:00
03_05_default_values.md docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00
03_05_default_values.rs doc(derive): Update for value_parser 2022-05-20 20:02:23 -05:00
04_01_enum.md docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00
04_01_enum.rs doc(derive): Update for value_parser 2022-05-20 20:02:23 -05:00
04_02_parse.md docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00
04_02_parse.rs doc(derive): Update for value_parser 2022-05-20 20:02:23 -05:00
04_02_validate.md docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00
04_02_validate.rs doc(derive): Update for value_parser 2022-05-20 20:02:23 -05:00
04_03_relations.md docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00
04_03_relations.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
04_04_custom.md docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00
04_04_custom.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
05_01_assert.rs docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00