SIGN IN SIGN UP
spf13 / cobra UNCLAIMED

A Commander for modern Go CLI interactions

0 0 140 Go

Check for group presence after full initialization (#1839)

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>
M
Marc Khouzam committed
10cf7be9972ee5b5994cf760ecba642309ac8685
Parent: 4b9d00d
Committed by GitHub <noreply@github.com> on 10/24/2022, 3:11:57 PM