MCPcopy Create free account
hub / github.com/commander-cli/commander / createCliApp

Function createCliApp

cmd/commander/commander.go:33–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33func createCliApp() *cli.App {
34 cliapp := cli.NewApp()
35 cliapp.Name = app.AppName
36 cliapp.Usage = "CLI app testing"
37 cliapp.Version = version
38
39 cliapp.Commands = []cli.Command{
40 createTestCommand(),
41 createAddCommand(),
42 }
43 return cliapp
44}
45
46func createTestCommand() cli.Command {
47 return cli.Command{

Callers 2

Test_CreateCliAppFunction · 0.85
runFunction · 0.85

Calls 2

createTestCommandFunction · 0.85
createAddCommandFunction · 0.85

Tested by 1

Test_CreateCliAppFunction · 0.68