3.1.0 • Published 4 years ago
pach-cli v3.1.0
Pach's glorious CLI
An evolution of the original Pach's handy dandy cli but better.
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 configureCommands
pach abort
Abourt any queries that are currently running for your snowflake user
USAGE
$ pach abortSee code: src/commands/abort.ts
pach configure
Initial configuration for CLI usage
USAGE
$ pach configureSee 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 CLISee 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 GormleySee code: src/commands/reports.ts
pach update [CHANNEL]
update the pach CLI
USAGE
$ pach update [CHANNEL]
OPTIONS
--from-local interactively choose an already installed versionSee code: @oclif/plugin-update