Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

MediaJelArchives/pach-s-glorious-cli

Repository files navigation

Pach's glorious CLI

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

oclif

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:

git clone https://github.com/pacholoamit/pach-s-glorious-cli.git

cd pach-s-glorious-cli

sudo npm link ## 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

About

An extension of pach's handy dandy cli

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages