We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15da8e4 commit 03a0b79Copy full SHA for 03a0b79
1 file changed
internal/command/root.go
@@ -2,20 +2,14 @@ package command
2
3
import (
4
"context"
5
- "errors"
6
"os"
7
8
"github.com/charmbracelet/fang"
9
"github.com/misha-ssh/cli/configs/envconst"
10
- "github.com/misha-ssh/cli/internal/component/output"
11
"github.com/misha-ssh/cli/internal/version"
12
"github.com/spf13/cobra"
13
)
14
15
-var (
16
- errRunApp = errors.New("error running app")
17
-)
18
-
19
// Run Start app with cobra cmd
20
func Run() {
21
cmd := &cobra.Command{
@@ -37,7 +31,6 @@ func Run() {
37
31
cmd,
38
32
fang.WithVersion(version.Get()),
39
33
); err != nil {
40
- output.Error(errRunApp.Error())
41
34
os.Exit(1)
42
35
}
43
36
0 commit comments