You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,8 +105,8 @@ go install github.com/spf13/cobra-cli@latest
105
105
106
106
For complete details on using the Cobra-CLI generator, please read [The Cobra Generator README](https://github.com/spf13/cobra-cli/blob/main/README.md)
107
107
108
-
For complete details on using the Cobra library, please read the [The Cobra User Guide](user_guide.md).
108
+
For complete details on using the Cobra library, please read the [The Cobra User Guide](site/content/user_guide.md).
109
109
110
110
# License
111
111
112
-
Cobra is released under the Apache 2.0 license. See [LICENSE.txt](https://github.com/spf13/cobra/blob/master/LICENSE.txt)
112
+
Cobra is released under the Apache 2.0 license. See [LICENSE.txt](LICENSE.txt)
Copy file name to clipboardExpand all lines: site/content/user_guide.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,8 +29,8 @@ func main() {
29
29
30
30
## Using the Cobra Generator
31
31
32
-
Cobra-CLI is its own program that will create your application and add any
33
-
commands you want. It's the easiest way to incorporate Cobra into your application.
32
+
Cobra-CLI is its own program that will create your application and add any commands you want.
33
+
It's the easiest way to incorporate Cobra into your application.
34
34
35
35
For complete details on using the Cobra generator, please refer to [The Cobra-CLI Generator README](https://github.com/spf13/cobra-cli/blob/main/README.md)
36
36
@@ -715,12 +715,17 @@ Run 'kubectl help' for usage.
715
715
716
716
## Generating documentation for your command
717
717
718
-
Cobra can generate documentation based on subcommands, flags, etc. Read more about it in the [docs generation documentation](doc/README.md).
718
+
Cobra can generate documentation based on subcommands, flags, etc.
719
+
Read more about it in the [docs generation documentation](docgen/_index.md).
719
720
720
721
## Generating shell completions
721
722
722
-
Cobra can generate a shell-completion file for the following shells: bash, zsh, fish, PowerShell. If you add more information to your commands, these completions can be amazingly powerful and flexible. Read more about it in [Shell Completions](shell_completions.md).
723
+
Cobra can generate a shell-completion file for the following shells: bash, zsh, fish, PowerShell.
724
+
If you add more information to your commands, these completions can be amazingly powerful and flexible.
725
+
Read more about it in [Shell Completions](shell_completions.md).
723
726
724
727
## Providing Active Help
725
728
726
-
Cobra makes use of the shell-completion system to define a framework allowing you to provide Active Help to your users. Active Help are messages (hints, warnings, etc) printed as the program is being used. Read more about it in [Active Help](active_help.md).
729
+
Cobra makes use of the shell-completion system to define a framework allowing you to provide Active Help to your users.
730
+
Active Help are messages (hints, warnings, etc) printed as the program is being used.
731
+
Read more about it in [Active Help](active_help.md).
0 commit comments