Skip to content

Update to cobra v1.5.0 and use cobra flag validations#139

Merged
kangasta merged 12 commits into
masterfrom
deps/cobra-1.5.0
Jul 1, 2022
Merged

Update to cobra v1.5.0 and use cobra flag validations#139
kangasta merged 12 commits into
masterfrom
deps/cobra-1.5.0

Conversation

@kangasta
Copy link
Copy Markdown
Member

No description provided.

kangasta added 4 commits June 27, 2022 16:38
…wall

Also adds helper to execute cobra command and capture its output and errors to
help, for example, checking that cobra validates given args correctly.
@kangasta kangasta changed the title Update to cobra and use cobra flag validations in server and server firewall Update to cobra v1.5.0 and use cobra flag validations Jun 29, 2022
Arg validation is done before execution reaches command implementation.
@kangasta kangasta merged commit 4babc8b into master Jul 1, 2022
@kangasta kangasta deleted the deps/cobra-1.5.0 branch July 1, 2022 08:43
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