feat(duo cli): add support for help command
Summary
Enable passing arguments to the duo CLI binary to support the new help command added upstream.
Changes
- Set
Args: cobra.ArbitraryArgsto allow passing arguments to the duo binary - Update Usage from
cli [flags]tocli [command] [flags] - Add
glab duo cli helpexample to documentation - Regenerate docs with
make gen-docs
Why
The upstream duo CLI added a dedicated help command (gitlab-lsp!2920) to work around bun intercepting the --help flag. Previously, users would get an error when running glab duo cli help:
error: too many arguments. Expected 0 arguments but got 1.
Now users can run glab duo cli help to access the duo binary's help menu, and any other arguments will be passed through as well.
Testing
- All tests pass
- Help text shows the new example
- Documentation updated automatically