You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
446 B
22 lines
446 B
4 years ago
|
package command
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"gitoa.ru/go-4devs/console"
|
||
|
"gitoa.ru/go-4devs/console/input"
|
||
|
"gitoa.ru/go-4devs/console/output"
|
||
|
)
|
||
|
|
||
|
func Namespace() *console.Command {
|
||
|
return &console.Command{
|
||
|
Name: "app:start",
|
||
|
Description: "example command in other namespace",
|
||
|
Execute: func(ctx context.Context, _ input.Input, out output.Output) error {
|
||
|
out.Println(ctx, "example command in other namespace")
|
||
|
|
||
|
return nil
|
||
|
},
|
||
|
}
|
||
|
}
|