Files
char/cmd/char/root.go
2022-11-02 22:49:32 +01:00

20 lines
298 B
Go

package char
import (
"git.front.kjuulh.io/kjuulh/char/pkg/charcontext"
"github.com/spf13/cobra"
)
func NewCharCmd(charctx *charcontext.CharContext) *cobra.Command {
cmd := &cobra.Command{
Use: "char",
}
cmd.AddCommand(
NewLsCommand(charctx),
NewDoCommand(charctx),
)
return cmd
}