Tags: PapaCharlie/cobra
Tags
Update stale-bot (spf13#1609) - Only label issues after feb 01, 2022 - Apply lifecycle/stale after 60 days - Close issue and apply lifecycle/rotten after another 30 days Signed-off-by: John McBride <[email protected]>
Removes viper dependency by removing cobra/ CLI tool (spf13#1604) The cobra bootstrapping CLI tool has moved to https://github.com/spf13/cobra-cli Signed-off-by: John McBride <[email protected]>
Bump github.com/spf13/viper from 1.9.0 to 1.10.0 (spf13#1561) Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/spf13/viper/releases) - [Commits](spf13/viper@v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: github.com/spf13/viper dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix flag completion (spf13#1438) * Fix flag completion The flag completion functions should not be stored in the root cmd. There is no requirement that the root cmd should be the same when `RegisterFlagCompletionFunc` was called. Storing the flags there does not work when you add the the flags to your cmd struct before you add the cmd to the parent/root cmd. The flags can no longer be found in the rigth place when the completion command is called and thus the flag completion does not work. Also spf13#1423 claims that this would be thread safe but we still have a map which will fail when accessed concurrently. To truly fix this issue use a RWMutex. Fixes spf13#1437 Fixes spf13#1320 Signed-off-by: Paul Holzinger <[email protected]> * Fix trailing whitespaces in fish comp scripts Signed-off-by: Paul Holzinger <[email protected]>
Fix documentation (spf13#1434) Signed-off-by: Marc Khouzam <[email protected]>
fix manpage building with new go-md2man (spf13#1255) This addresses spf13#1049 by changing the format of the generated Markdown input.
Add example for making persistent flags required (spf13#1135)
Fish completion using Go completion (spf13#1048) Signed-off-by: Marc Khouzam <[email protected]>
PreviousNext