Skip to content

Commit

Permalink
Fix command name (#23)
Browse files Browse the repository at this point in the history
The README for some reason suggests using `cobra init` in place of `cobra-cli init`, which wouldn't work without aliasing or the like. Fix it.
  • Loading branch information
stevenpitts authored Mar 17, 2022
1 parent b28a0b4 commit 8566c35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ You will want to open up and edit 'cmd/root.go' and provide your own description
e.g.
```
cd $HOME/code/myapp
cobra init
cobra-cli init
go run main.go
```

Cobra init can also be run from a subdirectory such as how the [cobra generator itself is organized](https://github.com/spf13/cobra).
cobra-cli init can also be run from a subdirectory such as how the [cobra generator itself is organized](https://github.com/spf13/cobra).
This is useful if you want to keep your application code separate from your library code.

#### Optional flags:
Expand Down

0 comments on commit 8566c35

Please sign in to comment.