docs: 'uc docs' command to generate CLI reference docs

This commit is contained in:
Pasha Sviderski committed 2025-08-28 20:09:18 +10:00
1 parent 290e6db98e
commit 7c19323ea1
41 files changed
+1265 -1

No files matched your search

+2 -1
View File
@@ -27,7 +27,7 @@ type globalOptions struct {
func main() {
opts := globalOptions{}
cmd := &cobra.Command{
Use: "uncloud",
Use: "uc",
Short: "A CLI tool for managing Uncloud resources such as clusters, machines, and services.",
Version: version.String(),
SilenceUsage: true,
@@ -75,6 +75,7 @@ func main() {
cmd.AddCommand(
NewDeployCommand(),
NewDocsCommand(),
NewBuildCommand(),
caddy.NewRootCommand(),
cmdcontext.NewRootCommand(),