From 2b987a360dd2de3499f7c39e8bcef23ab6c8aec6 Mon Sep 17 00:00:00 2001 From: wh <61870396+small-brilliant@users.noreply.github.com> Date: Mon, 15 Jan 2024 11:28:00 +0800 Subject: [PATCH] Update README.md In the CMD of windows, {'configCmd'.AddCommand (createCmd)} is generated using {cobra-cli add create -p 'configCmd'}. But using {cobra-cli add create -p "configCmd"} works. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c273c37..d048d89 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ In your project directory (where your main.go file is) you would run the followi ``` cobra-cli add serve cobra-cli add config -cobra-cli add create -p 'configCmd' +cobra-cli add create -p "configCmd" ``` `cobra-cli add` supports all the same optional flags as `cobra-cli init` does (described above).