Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pitcher/cli

Package Overview
Dependencies
Maintainers
8
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pitcher/cli

A CLI for PITCHER services

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
8
Created
Source

Pitcher CLI, or pit or pitcher, is a command-line interface to Pitcher for use in your terminal or your scripts.

Commands

pit auth token

pit auth token

Prompts user to enter token and saves it in ~/.config/.pitcher.json of local file system.

pit app create

pit app create [flags]

Create new application (with no release).

Options

-d, --description <string> Description of the application.

-n, --name <string> required Name of the application.

--display-name <string> Displayed name of the application.

-t, --type <string> required Type of the application. Available options: web, action.

Examples

pit app create -n test-app -d description --display_name 'App Name' -t 'web'

pit app publish

pit app publish

Create a new application if it doesn’t exist with its first version, otherwise it updates it with new version, based on the name of app in app.json inside the zip file.

To create an application interactively, use pit app create with no arguments.

To create an application non-interactively, supply the application name, type, and one of --public or --private.

pit app update

pit app update [<application>] [flags]

Edit application properties.

Options

-d, --description <string> Description of the application.

-n, --name <string> Name of the application.

--display-name <string> Displayed name of the application.

-t, --type <string> Type of the application. Available options: web, action.

Examples

pit app update test-app -d 'new description' --display_name 'New App Name' -t 'web'

pit app delete

pit app delete [<application>] [flags]

Delete application. If version is provided delete the specific release of the application.

Options

-v, --version <version> Delete the specific release with this version.

Examples

pit app delete test-app --version 0.1.0

pit app init

pit app init

Initializer app.json in root folder and prompt user to fill in application settings.

pit app list

pit app list

List all applications available to the user.

pit app view

pit app view [<application>] [flags]

View application information.

Options

-v, --version <version>

View the specific release of the app with this version.

Examples

pit app view test-app -v 0.1.0

pit app install

pit app install [flags]

Install a version of the application that is in the app.json file of the root folder to the selected instances. If version is omitted, installs latest version which is not prerelease.

Options

-v, --version <version> Install this version.

-i, --instances <number> Install to those instances (instance id’s separated by comma.

Examples

pit app install -v 0.1.0 -i 1,2

pit instances

pit instances

List all instances.

FAQs

Package last updated on 01 Nov 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc