Skip to content
Myr

Add popular users and feature list to readme

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Steve Francia · committed by Steve Francia · parent 8377361 · Browse files · 1 file+36 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+36 added−8 removed

  • other:+36 added−8 removed

1 file+36 added−8 removed

modified:README.md+36 added-8 removed
1# Cobra23A Commander for modern go CLI interactions3Cobra is both a library for creating powerful modern CLI applications as well as a program to generate applications and command files. 45Many of the most widely used Go projects are built using Cobra including:67* [Kubernetes](http://kubernetes.io/)8* [Hugo](http://gohugo.io)9* [Rocket](https://github.com/coreos/rkt)10* [Docker (distribution)](https://github.com/docker/distribution) 11* [OpenShift](https://www.openshift.com/)12* [Delve](https://github.com/derekparker/delve)13* [GopherJS](http://www.gopherjs.org/)14* [CochroachDB](http://www.cockroachlabs.com/)15* [Bleve](http://www.blevesearch.com/)16* [ProjectAtomic (enterprise)](http://www.projectatomic.io/)17* [Parse (CLI)](https://parse.com/)181920[![Build Status](https://travis-ci.org/spf13/cobra.svg)](https://travis-ci.org/spf13/cobra)2122## Overview239Cobra is a commander providing a simple interface to create powerful modern CLI10interfaces similar to git & go tools. In addition to providing an interface, Cobra11simultaneously provides a controller to organize your application code.24Cobra is a library providing a simple interface to create powerful modern CLI25interfaces similar to git & go tools.2613Inspired by go, go-Commander, gh and subcommand, Cobra improves on these by14providing **fully posix compliant flags** (including short & long versions),15**nesting commands**, and the ability to **define your own help and usage** for any or16all commands.27Cobra is also an application that will generate your application scaffolding to rapidly28develop a Cobra based application.2930Cobra provides:31* Easy sub-command based CLIs: `app server`, `app fetch`, etc.32* Fully posix compliant flags (including short & long versions)33* Nested sub commands34* Global, local and cascading flags35* Easy generation of applications & commands with `cobra create appname` & `cobra add cmdname`36* Intelligent suggestions (`app srver`.. did you mean `app server`)37* Automatic help generation for commands and flags38* Automatic detailed help for `app help [command]`39* Automatic help flag recognition of `-h`, `--help`, etc.40* Automatically generated bash autocomplete for your application41* Automatically generated man pages for your application42* Command aliases so you can change things without breaking them43* The flexibilty to define your own help, usage, etc44* Optional tight integration with [viper](http://github.com/spf13/viper) for 12 factor apps4546Cobra has an exceptionally clean interface and simple design without needless47constructors or initialization methods.4849Applications built with Cobra commands are designed to be as user friendly as
504 unmodified lines