@salesforce/plugin-release-management
Version:
A plugin for preparing and publishing npm packages
33 lines (32 loc) • 2.07 kB
JSON
{
"list": {
"description": "list known Circle CI slugs from '<%= config.bin %> repositories'",
"examples": ["<%= config.bin %> <%= command.id %> -t plugin"],
"flags": {
"type": "filter based on type of package"
}
},
"envvar": {
"update": {
"description": "update environment variable(s) on Circle CI slug(s)\nUpdates one or more environment variables on one or more CIrcle CI slugs. The environment variables must already exist on the slug. You will be prompted for the environment variable values unless they already exist on the process. The slugs can be piped in. If so, the environment variables must be on the process (prompting is disabled).",
"examples": [
"<%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -s 'gh/<org>/<repository>'",
"echo \"gh/<org>/<repository>\" | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR'",
"<%= config.bin %> circleci -t plugin | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'"
]
},
"create": {
"description": "create environment variable(s) on Circle CI slug(s)\nCreates one or more environment variables on one or more CIrcle CI slugs. The environment variables cannot exist on the slug. You will be prompted for the environment variable values unless they already exist on the process. The slugs can be piped in. If so, the environment variables must be on the process (prompting is disabled).",
"examples": [
"<%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -s 'gh/<org>/<repository>'",
"echo \"gh/<org>/<repository>\" | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR'",
"<%= config.bin %> circleci -t plugin | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'"
]
},
"flags": {
"envvar": "a environment variables to set on the given circle slug(s)",
"slug": "a circle ci slugs in the format <vcs>/<org name>/<repo name>",
"dryrun": "do validation but do not update the environment variable values"
}
}
}