MCPcopy
hub / github.com/cloudfoundry/cli / CreatePackageCommand

Struct CreatePackageCommand

command/v7/create_package_command.go:12–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type CreatePackageCommand struct {
13 BaseCommand
14
15 RequiredArgs flag.AppName `positional-args:"yes"`
16 DockerImage flag.DockerImage `long:"docker-image" short:"o" description:"Docker image to use (e.g. user/docker-image-name)"`
17 AppPath flag.PathWithExistenceCheck `short:"p" description:"Path to app directory or to a zip file of the contents of the app directory"`
18 usage interface{} `usage:"CF_NAME create-package APP_NAME [-p APP_PATH | --docker-image [REGISTRY_HOST:PORT/]IMAGE[:TAG]]"`
19 relatedCommands interface{} `related_commands:"app, droplets, packages, push"`
20
21 PackageDisplayer shared.PackageDisplayer
22}
23
24func (cmd *CreatePackageCommand) Setup(config command.Config, ui command.UI) error {
25 cmd.PackageDisplayer = shared.NewPackageDisplayer(ui, config)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected