@copado/copado-cli
Version:
Copado Developer CLI
59 lines • 3.12 kB
JSON
{
"connection": {
"list": {
"header": "Pipeline Connections",
"fetching": "fetching pipeline connections",
"description": "List of Connections of a given Pipeline",
"noRecord": "No connections found for the given Pipeline",
"example": "$ sf copado:pipeline:connection:list --pipeline <Copado Pipeline Id>",
"flags": {
"pipeline": "Pipeline Id"
}
},
"create": {
"description": "Generates a Pipeline Connection for the specified Environment",
"fetchingEnvironment": "Fetching environments",
"fetchingPipeline": "Fetching pipelines",
"creating": "Creating connection",
"selectSource": "Select source environment",
"selectDestination": "Select destination environment",
"openExample": "sf copado:record:open -i",
"branchRequired": "Branch name of source environment is required for non-local environments, add --sourcebranch <source branch>",
"example1": "$ sf copado:pipeline:connection:create --pipeline <Copado Pipeline Id> --targetenvironment <Copado Environment Id> --sourceenvironment <Copado Environment Id> --sourcebranch=<Source branch name> --destinationbranch=<Destination branch name>",
"example2": "$ sf copado:pipeline:connection:create --local --pipeline <Copado Pipeline Id> --targetenvironment <Copado Environment Id>",
"flags": {
"pipeline": "Pipeline record Id",
"destinationEnvironment": "Environment Id to which deployments are targeted",
"sourceEnvironment": "Source Environment Id from which deployments will originate",
"sourceBranch": "Branch name for the source environment",
"destinationBranch": "Branch name for destination environment(mandatory if target environment is not part of pipeline yet)",
"snaphot": "[default: true] Wether or not a snapshot of the environment is required.",
"local": "[default: false] Create a local environment."
}
}
},
"list": {
"description": "List of Copado Pipelines",
"example": "$ sf copado:pipeline:list",
"fetching": "fetching pipelines",
"all": "All Pipelines",
"active": "Active Pipelines",
"noRecord": "No Active Pipelines found",
"flags": {
"all": "include inactive pipelines"
}
},
"create": {
"description": "Creates a Pipeline",
"example": "$ sf copado:pipeline:create --name <Pipeline Name> --branch <Main branch name> --repository <Git repository Id> --platform <Platform Name>",
"openInstruction": "To open it in salesforce use",
"openExample": "sf copado:record:open -i",
"success": "Pipeline created successfully",
"flags": {
"name": "Pipeline Name",
"platform": "Platform Name",
"branch": "Main branch for pipeline",
"repository": "Git Repository"
}
}
}