mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
parent
6f647b1711
commit
69f86e6d5d
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue