github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/command/v7/revision_command.go (about) 1 package v7 2 3 import ( 4 "code.cloudfoundry.org/cli/command" 5 "code.cloudfoundry.org/cli/command/flag" 6 ) 7 8 type RevisionCommand struct { 9 BaseCommand 10 usage interface{} `usage:"CF_NAME revision APP_NAME [--version VERSION]"` 11 RequiredArgs flag.AppName `positional-args:"yes"` 12 Version flag.Revision `long:"version" required:"true" description:"The integer representing the specific revision to show"` 13 relatedCommands interface{} `related_commands:"revisions, rollback"` 14 } 15 16 func (cmd RevisionCommand) Execute(_ []string) error { 17 cmd.UI.DisplayWarning(command.ExperimentalWarning) 18 cmd.UI.DisplayNewline() 19 return nil 20 }