copy
inctl solution_version copy
Copy a version of a solution to a different project.
Synopsis
Copy a version of a solution from one project to another including all the data it depends on. This version can be committed or it can be an uncommitted snapshot of the branch.
inctl solution_version copy [flags]
Examples
inctl solution_version copy --solution "abc123_BRANCH" --snapshot_id $\{SNAPSHOT_ID\} --destination_solution $\{DESTINATION_SOLUTION_ID\} --destination_org $\{DESTINATION_ORG\} --org $\{SOURCE_ORG\} --title "Copy of abc123_BRANCH" --description "Copy of abc123_BRANCH"
Options
--description string Commit description.
--destination_org org@project Organization to copy the solution to in the format org@project.
--destination_solution string ID of the solution to copy to. The solution must be in the org provided through the --destination_org flag, and should have been created by another solution version copy command.
-h, --help help for copy
--snapshot_id string ID of the snapshot to copy. If not set, the tip snapshot will be used.
--solution string ID of the solution to copy. The solution must be in the org provided through the --org flag.
--title string Commit title.
Options inherited from parent commands
--org string The Intrinsic organization to use. You can set the environment variable
INTRINSIC_ORG=organization to set a default organization.
-o, --output string (optional) Output format. One of: (json, ndjson)
--print-trace Print the trace identifier when exiting.
-p, --project string The Google Cloud Project (GCP) project to use. You can set the environment variable
INTRINSIC_PROJECT=project_name to set a default project name.
SEE ALSO
- inctl solution_version - SolutionVersion interacts with solution versions