mirror of https://github.com/spf13/cobra.git
parent
6f647b1711
commit
69f86e6d5d
|
@ -215,6 +215,8 @@ cobra add config
|
|||
cobra add create -p 'configCmd'
|
||||
```
|
||||
|
||||
*Note: Use camelCase (not snake_case/snake-case) for command names. Otherwise, you will become unexpected errors. For example, `cobra add add-user` is incorrect, but `cobra add addUser` is valid.*
|
||||
|
||||
Once you have run these three commands you would have an app structure that would look like:
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue