Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ var rootCmd = &cobra.Command{
Long: styles.TitleStyle.Render("Forkspacer CLI") + "\n\n" +
"A cloud-native Kubernetes operator for dynamic workspace lifecycle management.\n" +
"Create, manage, and hibernate ephemeral development environments at scale.",
SilenceUsage: true,
SilenceErrors: true,
SilenceUsage: true,
}

// Execute adds all child commands to the root command and sets flags appropriately.
Expand Down
4 changes: 1 addition & 3 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
package main

import (
"os"

"github.com/forkspacer/cli/cmd"
_ "github.com/forkspacer/cli/cmd/workspace"
)

func main() {
if err := cmd.Execute(); err != nil {
os.Exit(1)
cmd.HandleError(err)
}
}
Loading