Skip to content

Commit 5b91bb7

Browse files
fix: init
1 parent c7dbe0e commit 5b91bb7

3 files changed

Lines changed: 1 addition & 86 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ createos --help
200200
| Command | Description |
201201
| --------------------- | ------------------------------------------------------- |
202202
| `createos ask` | Ask the AI assistant to help manage your infrastructure |
203-
| `createos completion` | Generate shell completion script (bash/zsh/fish) |
204203
| `createos version` | Print the current version |
205204

206205
## Non-interactive / CI usage

cmd/completion/completion.go

Lines changed: 0 additions & 81 deletions
This file was deleted.

cmd/root/root.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010

1111
"github.com/NodeOps-app/createos-cli/cmd/ask"
1212
"github.com/NodeOps-app/createos-cli/cmd/auth"
13-
"github.com/NodeOps-app/createos-cli/cmd/completion"
1413
"github.com/NodeOps-app/createos-cli/cmd/cronjobs"
1514
"github.com/NodeOps-app/createos-cli/cmd/deployments"
1615
"github.com/NodeOps-app/createos-cli/cmd/domains"
@@ -75,7 +74,7 @@ func NewApp() *cli.App {
7574
}
7675

7776
cmd := c.Args().First()
78-
if cmd == "" || cmd == "login" || cmd == "logout" || cmd == "version" || cmd == "completion" || cmd == "ask" {
77+
if cmd == "" || cmd == "login" || cmd == "logout" || cmd == "version" {
7978
return nil
8079
}
8180

@@ -152,7 +151,6 @@ func NewApp() *cli.App {
152151
fmt.Println(" login Authenticate with CreateOS")
153152
}
154153
fmt.Println(" ask Ask the AI assistant to help manage your infrastructure")
155-
fmt.Println(" completion Generate shell completion script")
156154
fmt.Println(" version Print the current version")
157155
fmt.Println()
158156
fmt.Println("Global Flags:")
@@ -166,7 +164,6 @@ func NewApp() *cli.App {
166164
Commands: []*cli.Command{
167165
auth.NewLoginCommand(),
168166
auth.NewLogoutCommand(),
169-
completion.NewCompletionCommand(),
170167
cronjobs.NewCronjobsCommand(),
171168
deployments.NewDeploymentsCommand(),
172169
ask.NewAskCommand(),

0 commit comments

Comments
 (0)