Skip to content

Commit

Permalink
remove update cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
nermalcat69 committed Sep 11, 2024
1 parent 123efb2 commit 8667067
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 112 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ tools/npm/node_modules
*.DS_Store
# ignore built binary in root dir
/zcli
vendor
8 changes: 0 additions & 8 deletions cmd/zcli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,8 @@ package main

import (
"github.com/zeropsio/zcli/src/cmd"
"/src/cmd/update.go"
)

func main() {

go func() {
if err := updateCmd(); err != nil {
fmt.Println("Error checking for updates:", err)
}
}()

cmd.ExecuteCmd()
}
1 change: 0 additions & 1 deletion src/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ func rootCmd() *cmdBuilder.Cmd {
AddChildrenCmd(servicePushCmd()).
AddChildrenCmd(envCmd()).
AddChildrenCmd(supportCmd()).
AddChildrenCmd(updateCmd()).
GuestRunFunc(func(ctx context.Context, cmdData *cmdBuilder.GuestCmdData) error {
cmdData.Stdout.PrintLines(
i18n.T(i18n.GuestWelcome),
Expand Down
103 changes: 0 additions & 103 deletions src/cmd/update.go

This file was deleted.

0 comments on commit 8667067

Please sign in to comment.