first commit
This commit is contained in:
21
example/cmd/console/main.go
Normal file
21
example/cmd/console/main.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"gitoa.ru/go-4devs/console"
|
||||
"gitoa.ru/go-4devs/console/example/pkg/command"
|
||||
)
|
||||
|
||||
func main() {
|
||||
console.
|
||||
New().
|
||||
Add(
|
||||
command.Hello(),
|
||||
command.Args(),
|
||||
command.Hidden(),
|
||||
command.Namespace(),
|
||||
command.CreateUser(false),
|
||||
).
|
||||
Execute(context.Background())
|
||||
}
|
||||
Reference in New Issue
Block a user