NArg returns the number of the command line arguments.
()
| 626 | |
| 627 | // NArg returns the number of the command line arguments. |
| 628 | func (cmd *Command) NArg() int { |
| 629 | return cmd.Args().Len() |
| 630 | } |
| 631 | |
| 632 | func (cmd *Command) runFlagActions(ctx context.Context) error { |
| 633 | tracef("runFlagActions") |