@sfcicd/sandbox-manager
v0.1.4
Published
Salesforce CLI plugin for managing Sandbox Manager sandboxes.
Maintainers
Readme
@sfcicd/sandbox-manager
Salesforce CLI (sf) plugin for Sandbox Manager — claim, list, monitor, and
delete pooled and scheduled-refresh Salesforce sandboxes from a central CICD
sandbox, without giving developers production access.
This plugin talks only to the CICD sandbox's packaged Apex REST API; the
SandboxManager unlocked package performs all production Tooling API work through
a Named Credential. Install the package and complete production authentication
first — see the Setup Guide.
Install
Install the plugin:
sf plugins install @sfcicd/sandbox-managerThen install (or upgrade) the SandboxManager unlocked package on the CICD
sandbox. This command pins the required version and installation key, and is a
safe no-op when the org is already current:
sf sandbox-manager install --target-org <cicd>Commands
sf sandbox-manager install --target-org <cicd>
sf sandbox-manager list --target-org <cicd>
sf sandbox-manager mine --target-org <cicd>
sf sandbox-manager claim --target-org <cicd> --template dev4x1 --purpose ABC-123 --description "..."
sf sandbox-manager status --target-org <cicd> --template dev4x1
sf sandbox-manager status --target-org <cicd> --sandbox dev4x1x001
sf sandbox-manager wait --target-org <cicd> --sandbox dev4x1x001 --timeout 180 --interval 60
sf sandbox-manager delete --target-org <cicd> --sandbox dev4x1x001
sf sandbox-manager delete --target-org <cicd> --purpose ABC-123See the full documentation.
License
Apache-2.0 © Torsten Rost
