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

Method Setup

command/v7/create_app_manifest_command.go:24–33  ·  view source on GitHub ↗
(config command.Config, ui command.UI)

Source from the content-addressed store, hash-verified

22}
23
24func (cmd *CreateAppManifestCommand) Setup(config command.Config, ui command.UI) error {
25 err := cmd.BaseCommand.Setup(config, ui)
26 if err != nil {
27 return err
28 }
29 currentDir, err := os.Getwd()
30 cmd.PWD = currentDir
31
32 return err
33}
34
35func (cmd CreateAppManifestCommand) Execute(args []string) error {
36 err := cmd.SharedActor.CheckTarget(true, true)

Callers

nothing calls this directly

Calls 1

SetupMethod · 0.65

Tested by

no test coverage detected