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

Function helpText

integration/v7/isolated/copy_source_command_test.go:473–491  ·  view source on GitHub ↗
(session *Session)

Source from the content-addressed store, hash-verified

471})
472
473func helpText(session *Session) {
474 Eventually(session).Should(Say("NAME:"))
475 Eventually(session).Should(Say("copy-source - Copies the source code of an application to another existing application and restages that application"))
476 Eventually(session).Should(Say("USAGE:"))
477 Eventually(session).Should(Say(`cf copy-source SOURCE_APP DESTINATION_APP \[-s TARGET_SPACE \[-o TARGET_ORG\]\] \[--no-restart\] \[--strategy STRATEGY\] \[--no-wait\]`))
478 Eventually(session).Should(Say("OPTIONS:"))
479 Eventually(session).Should(Say(`--instance-steps`))
480 Eventually(session).Should(Say(`--max-in-flight\s+Defines the maximum number of instances`))
481 Eventually(session).Should(Say(`--no-wait\s+ Exit when the first instance of the web process is healthy`))
482 Eventually(session).Should(Say(`--no-restart\s+Do not restage the destination application`))
483 Eventually(session).Should(Say(`--organization, -o\s+Org that contains the destination application`))
484 Eventually(session).Should(Say(`--space, -s\s+Space that contains the destination application`))
485 Eventually(session).Should(Say(`--strategy\s+Deployment strategy can be canary, rolling or null`))
486 Eventually(session).Should(Say("ENVIRONMENT:"))
487 Eventually(session).Should(Say(`CF_STAGING_TIMEOUT=15\s+Max wait time for staging, in minutes`))
488 Eventually(session).Should(Say(`CF_STARTUP_TIMEOUT=5\s+Max wait time for app instance startup, in minutes`))
489 Eventually(session).Should(Say("SEE ALSO:"))
490 Eventually(session).Should(Say("apps, push, restage, restart, target"))
491}

Calls

no outgoing calls

Tested by

no test coverage detected