File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Cobra Generator
1+ # Cobra Generator CLI tool
22
33Cobra provides its own program that will create your application and add any
44commands you want. It's the easiest way to incorporate Cobra into your application.
@@ -9,7 +9,7 @@ In order to use the cobra command, compile it using the following command:
99
1010This will create the cobra executable under your ` $GOPATH/bin ` directory.
1111
12- ### cobra init
12+ ### ` cobra init `
1313
1414The ` cobra init [app] ` command will create your initial application code
1515for you. It is a very powerful application that will populate your program with
3535cobra init --pkg-name github.com/spf13/newApp path/to/newApp
3636```
3737
38- ### cobra add
38+ ### ` cobra add `
3939
4040Once an application is initialized, Cobra can create additional commands for you.
4141Let's say you created an app and you wanted the following commands for it:
You can’t perform that action at this time.
0 commit comments