Use cobra create instead of cobra init in README.md (#396)

This commit is contained in:
Adrián López 2017-05-08 14:23:08 +02:00 committed by Albert Nigmatzianov
parent 4d2c4afa04
commit c0bd07d7ba

View file

@ -40,7 +40,7 @@ Cobra provides:
* Fully POSIX-compliant flags (including short & long versions) * Fully POSIX-compliant flags (including short & long versions)
* Nested subcommands * Nested subcommands
* Global, local and cascading flags * Global, local and cascading flags
* Easy generation of applications & commands with `cobra create appname` & `cobra add cmdname` * Easy generation of applications & commands with `cobra init appname` & `cobra add cmdname`
* Intelligent suggestions (`app srver`... did you mean `app server`?) * Intelligent suggestions (`app srver`... did you mean `app server`?)
* Automatic help generation for commands and flags * Automatic help generation for commands and flags
* Automatic detailed help for `app help [command]` * Automatic detailed help for `app help [command]`