pach-cli

Pach's Glorious CLI

Usage no npm install needed!

<script type="module">
  import pachCli from 'https://cdn.skypack.dev/pach-cli';
</script>

README

Pach's glorious CLI

An evolution of the original Pach's handy dandy cli but better.

oclif node-current

Installation

You may install this CLI via npm. You will need to run pach configure so as to generate your configuration file. Please follow the instructions.

Run these commands to install:


npm install -g pach-cli ## sudo if you have to

pach configure

Commands

pach abort

Abourt any queries that are currently running for your snowflake user

USAGE
  $ pach abort

See code: src/commands/abort.ts

pach configure

Initial configuration for CLI usage

USAGE
  $ pach configure

See code: src/commands/configure.ts

pach help [COMMAND]

display help for pach

USAGE
  $ pach help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

pach query TYPE

Query specific app ids from Snowflake database

USAGE
  $ pach query TYPE

OPTIONS
  -a, --appId=appId  (required) flag to declare the app id to query
  -h, --help         Help documentation
  -l, --limit=limit  [default: NULL] flag to declare the limit of entries to be returned (note: NULL === no limits)

See code: src/commands/query.ts

pach reports TYPE

Generate automated reports via the Google Sheets API.

USAGE
  $ pach reports TYPE

OPTIONS
  -h, --help                   Help documentation
  -q, --quiet                  Specified sheet name to process reports on
  -s, --sheetNames=sheetNames  (required) Specified sheet name to process reports on

EXAMPLES
  $ pach reports cpc -s Gormley -q
  $ pach reports organic -s Gormley

See code: src/commands/reports.ts

pach update [CHANNEL]

update the pach CLI

USAGE
  $ pach update [CHANNEL]

OPTIONS
  --from-local  interactively choose an already installed version

See code: @oclif/plugin-update