Miss any of our Open RFC calls?Watch the recordings here! »

quip-cli

0.1.1 • Public • Published

Quip CLI

This package contains the Quip command line interface, which is used for interacting with the Quip Live Apps platform.

Usage

$ npm install -g quip-cli
$ qla COMMAND
running command...
$ qla (-v|--version|version)
quip-cli/1.0.0-alpha.44 darwin-x64 node-v10.15.0
$ qla --help [COMMAND]
USAGE
  $ qla COMMAND
...

Commands

qla apps

Browse, inspect, and manipulate your Apps

USAGE
  $ qla apps

OPTIONS
  -h, --help             show CLI help
  -i, --id=id            show the details of an app ID
  -j, --json             output responses in JSON
  -s, --site=site        [default: quip.com] use a specific quip site rather than the standard quip.com login
  -v, --version=version  which version to show the details for. Only useful with --id

See code: src/commands/apps.ts

qla bump [INCREMENT]

Bump the application version

USAGE
  $ qla bump [INCREMENT]

ARGUMENTS
  INCREMENT  which number to bump - can be one of 'major', 'minor', or 'patch' - defaults to 'patch'

OPTIONS
  -h, --help  show CLI help

See code: src/commands/bump.ts

qla help [COMMAND]

display help for qla

USAGE
  $ qla help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

qla init

Initialize a new Live App Project

USAGE
  $ qla init

OPTIONS
  -d, --dir=dir    specify directory to create app in (defaults to the name provided)
  -h, --help       show CLI help
  -i, --id=id      set the ID of the application
  -j, --json       output responses in JSON (must provide --name and --id)
  -n, --name=name  set the name of the application
  -s, --site=site  [default: quip.com] use a specific quip site rather than the standard quip.com login
  --no-create      only create a local app (don't create an app in the dev console or assign an ID)

See code: src/commands/init.ts

qla login

Logs in to Quip and stores credentials in the .quiprc file

USAGE
  $ qla login

OPTIONS
  -f, --force      forces a re-login even if a user is currently logged in
  -h, --help       show CLI help
  -s, --site=site  [default: quip.com] use a specific quip site rather than the standard quip.com login

See code: src/commands/login.ts

qla migration [NAME]

Creates a new migration

USAGE
  $ qla migration [NAME]

ARGUMENTS
  NAME  A short description to generate the filename with

OPTIONS
  -d, --dry-run          Print what this would do, but don't create any files.
  -f, --folder=folder    [default: migrations] The folder where your migrations are stored
  -h, --help             show CLI help

  -v, --version=version  The version to generate this migration for. By default, it will use the current version_number
                         in the manifest

See code: src/commands/migration.ts

qla publish

Uploads this bundle to the developer console, and sets it as the latest development version.

USAGE
  $ qla publish

OPTIONS
  -h, --help           show CLI help
  -i, --ignore=ignore  [default: node_modules] blob to ignore. Defaults to 'node_modules'
  -j, --json           output responses in JSON
  -s, --site=site      [default: quip.com] use a specific quip site rather than the standard quip.com login

See code: src/commands/publish.ts

Running locally

When developing locally, you'll iterate by calling bin/run <your-command>.

Adding new commands

This tool uses oclif to handle arg parsing and user interactivity.

To add a command to this repo, run npx oclif command <name>. For other options, check npx oclif --help

Install

npm i quip-cli

DownloadsWeekly Downloads

827

Version

0.1.1

License

Apache-2.0

Unpacked Size

114 kB

Total Files

69

Last publish

Collaborators

  • avatar
  • avatar