diff options
| author | Aditya R <arajan@redhat.com> | 2022-03-13 23:26:59 +0530 |
|---|---|---|
| committer | Aditya R <arajan@redhat.com> | 2022-03-14 12:26:12 +0530 |
| commit | 780d4b2d65b196311e70f3bfe8cee9701056400a (patch) | |
| tree | b3117a629db6d1c41ef9cbd76b822ef37c185400 /vendor/github.com/spf13/cobra/README.md | |
| parent | 0144cabc41b82e4c1b59f681ca845c01ae1735de (diff) | |
| download | podman-780d4b2d65b196311e70f3bfe8cee9701056400a.tar.gz podman-780d4b2d65b196311e70f3bfe8cee9701056400a.tar.bz2 podman-780d4b2d65b196311e70f3bfe8cee9701056400a.zip | |
vendor: bump buildah, c/image and c/storage
Bumps
c/buildah to -> `v1.24.3-0.20220310160415-5ec70bf01ea5`
c/storage to -> `v1.38.3-0.20220308085612-93ce26691863`
c/image to -> `v5.20.1-0.20220310094651-0d8056ee346f`
Signed-off-by: Aditya R <arajan@redhat.com>
Diffstat (limited to 'vendor/github.com/spf13/cobra/README.md')
| -rw-r--r-- | vendor/github.com/spf13/cobra/README.md | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/vendor/github.com/spf13/cobra/README.md b/vendor/github.com/spf13/cobra/README.md index 7adef143b..1ade1081c 100644 --- a/vendor/github.com/spf13/cobra/README.md +++ b/vendor/github.com/spf13/cobra/README.md @@ -1,13 +1,13 @@  -Cobra is a library for creating powerful modern CLI applications. +Cobra is both a library for creating powerful modern CLI applications as well as a program to generate applications and command files. Cobra is used in many Go projects such as [Kubernetes](http://kubernetes.io/), [Hugo](https://gohugo.io), and [Github CLI](https://github.com/cli/cli) to name a few. [This list](./projects_using_cobra.md) contains a more extensive list of projects using Cobra. [](https://github.com/spf13/cobra/actions?query=workflow%3ATest) -[](https://pkg.go.dev/github.com/spf13/cobra) +[](https://godoc.org/github.com/spf13/cobra) [](https://goreportcard.com/report/github.com/spf13/cobra) [](https://gophers.slack.com/archives/CD3LP1199) @@ -16,11 +16,15 @@ name a few. [This list](./projects_using_cobra.md) contains a more extensive lis Cobra is a library providing a simple interface to create powerful modern CLI interfaces similar to git & go tools. +Cobra is also an application that will generate your application scaffolding to rapidly +develop a Cobra-based application. + Cobra provides: * Easy subcommand-based CLIs: `app server`, `app fetch`, etc. * Fully POSIX-compliant flags (including short & long versions) * Nested subcommands * Global, local and cascading flags +* Easy generation of applications & commands with `cobra init` & `cobra add cmdname` * Intelligent suggestions (`app srver`... did you mean `app server`?) * Automatic help generation for commands and flags * Automatic help flag recognition of `-h`, `--help`, etc. @@ -79,11 +83,10 @@ which maintains the same interface while adding POSIX compliance. # Installing Using Cobra is easy. First, use `go get` to install the latest version -of the library. +of the library. This command will install the `cobra` generator executable +along with the library and its dependencies: -``` -go get -u github.com/spf13/cobra@latest -``` + go get -u github.com/spf13/cobra Next, include Cobra in your application: @@ -92,17 +95,10 @@ import "github.com/spf13/cobra" ``` # Usage -`cobra-cli` is a command line program to generate cobra applications and command files. -It will bootstrap your application scaffolding to rapidly -develop a Cobra-based application. It is the easiest way to incorporate Cobra into your application. - -It can be installed by running: - -``` -go install github.com/spf13/cobra-cli@latest -``` +Cobra provides its own program that will create your application and add any +commands you want. It's the easiest way to incorporate Cobra into your application. -For complete details on using the Cobra-CLI generator, please read [The Cobra Generator README](https://github.com/spf13/cobra-cli/blob/master/README.md) +For complete details on using the Cobra generator, please read [The Cobra Generator README](https://github.com/spf13/cobra/blob/master/cobra/README.md) For complete details on using the Cobra library, please read the [The Cobra User Guide](user_guide.md). |
