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.
23 lines
461 B
23 lines
461 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 Hidden() *console.Command {
|
||
|
return &console.Command{
|
||
|
Name: "fdevs:console:hidden",
|
||
|
Description: "hidden command exmale",
|
||
|
Hidden: true,
|
||
|
Execute: func(ctx context.Context, _ input.Input, out output.Output) error {
|
||
|
out.Println(ctx, "<info> call hidden command</info>")
|
||
|
|
||
|
return nil
|
||
|
},
|
||
|
}
|
||
|
}
|