github.com/devcamcar/cli@v0.0.0-20181107134215-706a05759d18/commands/use.go (about) 1 package commands 2 3 import ( 4 "github.com/urfave/cli" 5 ) 6 7 // UseCommand returns use cli.command 8 func UseCommand() cli.Command { 9 return cli.Command{ 10 Name: "use", 11 Aliases: []string{"u"}, 12 Usage: "\tSelect context for further commands", 13 Category: "MANAGEMENT COMMANDS", 14 Hidden: false, 15 ArgsUsage: "<subcommand>", 16 Description: "This command uses a selected object ('context') for further invocations.", 17 Subcommands: GetCommands(UseCmds), 18 } 19 }