github.com/devcamcar/cli@v0.0.0-20181107134215-706a05759d18/commands/create.go (about) 1 package commands 2 3 import ( 4 "github.com/urfave/cli" 5 ) 6 7 // CreateCommand returns create cli.command 8 func CreateCommand() cli.Command { 9 return cli.Command{ 10 Name: "create", 11 Aliases: []string{"c"}, 12 Usage: "\tCreate a new object", 13 Description: "This command creates a new object ('app', 'context', 'function', or 'trigger').", 14 Hidden: false, 15 ArgsUsage: "<object-type>", 16 Category: "MANAGEMENT COMMANDS", 17 Subcommands: GetCommands(CreateCmds), 18 } 19 }