From 8566c3535b3233a64fb5290054017f49092a3a8c Mon Sep 17 00:00:00 2001 From: Steven Pitts <25968054+stevenpitts@users.noreply.github.com> Date: Thu, 17 Mar 2022 17:33:52 -0400 Subject: [PATCH] Fix command name (#23) 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. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 53c32d6..5bd000f 100644 --- a/README.md +++ b/README.md @@ -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: