Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Help Heading and Display Order work in prep for deprecations #3414

Merged
merged 5 commits into from
Feb 8, 2022

Commits on Feb 8, 2022

  1. docs: Prepare for 3.1 deprecations

    Don't want to forget this remaining work
    epage committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    4f50e97 View commit details
    Browse the repository at this point in the history
  2. feat: Add App::next_help_heading

    This clarifies the intent and prepares for other functions doing the
    same, like `next_display_order`.  This will then open us to name
    `subcommand_help_heading` and `display_order` similar.
    
    The deprecation is waiting on 3.1.
    
    This is part of clap-rs#1807 and clap-rs#1553.
    epage committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    c00f71e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    16bf834 View commit details
    Browse the repository at this point in the history
  4. feat: Override DeriveDisplayOrder behavior with App::next_display_order

    For the derive API, you can only call `next_display_order` when dealing
    with a flatten.  Until we offer app attributes on arguments, the user can workaround with
    this no-op flattens.
    
    This is a part of clap-rs#1807
    epage committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    5290f82 View commit details
    Browse the repository at this point in the history
  5. feat: Allow disabling derive display order

    In clap 4.0, we will make `DeriveDisplayOrder` the default and this is
    how you'll disable it.
    
    This is part of clap-rs#2808
    epage committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    6ad52f4 View commit details
    Browse the repository at this point in the history