Socket
Book a DemoInstallSign in
Socket

@pitcher/cli-scripts

Package Overview
Dependencies
Maintainers
7
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pitcher/cli-scripts

The Pitcher CLI for various tasks in its ecosystem.

npmnpm
Version
2.0.3
Version published
Weekly downloads
166
1409.09%
Maintainers
7
Weekly downloads
 
Created
Source

@pitcher/cli-scripts

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.

Help

p --help
# or for specific command help:
p command --help

To run the publish-app command:

# Basic usage
p publish-app <folder> --url https://dev.my.pitcher.com --api-key myapikey

# Publish to current folder and dev org
p publish-app --api-key myapikey

# Dry run with version increment
p publish-app --api-key myapikey --dry-run --increment-version

# Publish and install to specific instances
p publish-app --api-key myapikey --increment-version --install-to "01HG0C5NS1BTQ2ZPE1XCGKSGDH, 01HG0C5NS1BTQ2ZPE1XCGKSGDA"

# Publish and install to all instances with a specific environment name
p publish-app --api-key myapikey --increment-version --install-to-env-name "Demo"

# Combine both: install to specific instances AND all instances in an environment
p publish-app --api-key myapikey --increment-version --install-to "01HG0C5NS1BTQ2ZPE1XCGKSGDH" --install-to-env-name "Demo"

# Alternative: Set API key via environment variable
export NG_API_KEY=myapikey
p publish-app --increment-version --install-to-env-name "Production"

Options

  • --api-key <apiKey>: API Key for authentication (can also use NG_API_KEY env variable)
  • --org <organization>: Organization subdomain (default: "dev")
  • --increment-version: Increment version in app.json with timestamp
  • --dry-run: Perform a dry run without publishing
  • --publish-url <url>: Explicit publish URL
  • --install-to <instanceIds>: Comma-separated list of instance IDs to install the app to after publishing
  • --install-to-env-name <envName>: Environment name to filter instances and install the app to after publishing (case-insensitive)

Keywords

pitcher

FAQs

Package last updated on 23 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts