Skip to content

Positional arguments#301

Open
siherrmann wants to merge 5 commits intomainfrom
positional-arguments
Open

Positional arguments#301
siherrmann wants to merge 5 commits intomainfrom
positional-arguments

Conversation

@siherrmann
Copy link
Copy Markdown
Member

siherrmann and others added 5 commits April 8, 2026 12:39
Copy link
Copy Markdown
Member

@joka134 joka134 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but one comment regarding the tests

rootCmd.SilenceErrors = true
rootCmd.SilenceUsage = true

licensesCmd := findCommand(rootCmd, "licenses")
Copy link
Copy Markdown
Member

@joka134 joka134 Apr 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we build an independent test for AddCmd? With this, a change in licenses requires to find another example for this test case to work 🤔 Also it's not really clear what's tested here just from looking at this test code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants