Compare commits
1 Commits
v0.0.1
...
2657672288
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2657672288 |
4
app.go
4
app.go
@@ -133,11 +133,11 @@ func (a *App) list(ctx context.Context) error {
|
||||
|
||||
arr := &input.Array{}
|
||||
arr.SetArgument("command_name", value.New(CommandList))
|
||||
in := input.Chain(a.in, arr)
|
||||
in := input.Chain(arr, a.in)
|
||||
|
||||
return Run(ctx, cmd, in, a.out)
|
||||
}
|
||||
|
||||
func (a *App) printError(ctx context.Context, err error) {
|
||||
a.out.Println(ctx, "<error>\n\n ", err, "\n</error>")
|
||||
ansi(ctx, a.in, a.out).Println(ctx, "<error>\n\n ", err, "\n</error>")
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
const (
|
||||
verboseTrace = 3
|
||||
verboseDebug = 2
|
||||
verboseInfo = 3
|
||||
verboseInfo = 1
|
||||
)
|
||||
|
||||
// Execute the current command with option.
|
||||
|
||||
Reference in New Issue
Block a user