github.com/devcamcar/cli@v0.0.0-20181107134215-706a05759d18/commands/list.go (about) 1 package commands 2 3 import ( 4 "github.com/urfave/cli" 5 ) 6 7 // ListCommand returns list cli.command 8 func ListCommand() cli.Command { 9 return cli.Command{ 10 Name: "list", 11 Aliases: []string{"ls"}, 12 Usage: "\tReturn a list of created objects", 13 Category: "MANAGEMENT COMMANDS", 14 Hidden: false, 15 ArgsUsage: "<subcommand>", 16 Description: "This command returns a list of created objects ('app', 'call', 'context', 'function' or 'trigger') or configurations.", 17 Subcommands: GetCommands(ListCmds), 18 } 19 }