Pitcher CLI Tools provide a suite of command-line utilities to streamline your workflow. For the best experience, we recommend installing the tools globally using
npm install -g @pitcher/cli-scripts
.
p --help
# or for specific command help:
p command --help
p copy-instance-files <fromInstance> <toInstance> --org pitcher --api-key myapikey
p publish-app <folder> --url https://dev.my.pitcher.com --api-key myapikey
# or for current folder and dev org
p publish-app --api-key myapikey
# or for dry run and incrementing app.json's version
p publish-app --api-key myapikey --dry-run --increment-version
# Alternative: Set API key via environment variable
export NG_API_KEY=myapikey
p publish-app --increment-version