Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: spf13/cobra
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.6.0
Choose a base ref
...
head repository: spf13/cobra
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.6.1
Choose a head ref
  • 1 commit
  • 3 files changed
  • 2 contributors

Commits on Oct 24, 2022

  1. Check for group presence after full initialization (#1839) (#1841)

    Fixes #1831
    
    By moving the check for help group existence to "ExecuteC()" we no
    longer need groups to be added before AddCommand() is called.  This
    provides more flexibility to developers and works better with the use
    of "init()" for command creation.
    
    Signed-off-by: Marc Khouzam <marc.khouzam@gmail.com>
    
    Signed-off-by: Marc Khouzam <marc.khouzam@gmail.com>
    Co-authored-by: Marc Khouzam <marc.khouzam@gmail.com>
    jpmcb and marckhouzam authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    b43be99 View commit details
    Browse the repository at this point in the history
Loading