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