aha-cli
TypeScript icon, indicating that this package has built-in type declarations

1.15.0 • Public • Published

aha-cli

Command line interface for working with Aha!.

Currently supported commands are for creating and managing extensions.

Usage

$ npm install -g aha-cli
$ aha auth:login
Authentication to Aha!...
$ aha extension:create
Create a new extension...
$ aha extension:install
Install the extension into your Aha! account...

Commands

aha auth:check

Check if the stored credentials work

USAGE
  $ aha auth:check [-s <value>]

FLAGS
  -s, --subdomain=<value>  Aha! subdomain to use for authentication

DESCRIPTION
  Check if the stored credentials work

See code: src/commands/auth/check.ts

aha auth:login

Login to Aha! and save credentials for other commands

USAGE
  $ aha auth:login [-s <value>] [--authServer <value>] [--browser <value>]

FLAGS
  -s, --subdomain=<value>  Aha! subdomain to use for authentication
  --authServer=<value>     [default: https://secure.aha.io] server to use for authentication
  --browser=<value>        browser to use for login, e.g. 'safari' or 'firefox'

DESCRIPTION
  Login to Aha! and save credentials for other commands
  Credentials are saved in ~/.netrc

See code: src/commands/auth/login.ts

aha extension:add-contribution

Add a contribution to an extension

USAGE
  $ aha extension:add-contribution [-s <value>]

FLAGS
  -s, --subdomain=<value>  Aha! subdomain to use for authentication

DESCRIPTION
  Add a contribution to an extension

See code: src/commands/extension/add-contribution.ts

aha extension:build

Build an extension into a zip file for ease of distribution

USAGE
  $ aha extension:build [-s <value>] [--noCache]

FLAGS
  -s, --subdomain=<value>  Aha! subdomain to use for authentication
  --noCache                skip cached http imports

DESCRIPTION
  Build an extension into a zip file for ease of distribution

See code: src/commands/extension/build.ts

aha extension:create

Create an example extension

USAGE
  $ aha extension:create [-s <value>]

FLAGS
  -s, --subdomain=<value>  Aha! subdomain to use for authentication

DESCRIPTION
  Create an example extension

See code: src/commands/extension/create.ts

aha extension:install

Install the extension from the current directory

USAGE
  $ aha extension:install [-s <value>] [--dumpCode] [--noCache]

FLAGS
  -s, --subdomain=<value>  Aha! subdomain to use for authentication
  --dumpCode               dump all code as it is uploaded
  --noCache                skip cached http imports

DESCRIPTION
  Install the extension from the current directory

See code: src/commands/extension/install.ts

aha extension:tail

Live tail extension logs

USAGE
  $ aha extension:tail [-s <value>]

FLAGS
  -s, --subdomain=<value>  Aha! subdomain to use for authentication

DESCRIPTION
  Live tail extension logs

See code: src/commands/extension/tail.ts

aha extension:uninstall

Uninstall the extension in the current directory

USAGE
  $ aha extension:uninstall [-s <value>]

FLAGS
  -s, --subdomain=<value>  Aha! subdomain to use for authentication

DESCRIPTION
  Uninstall the extension in the current directory

See code: src/commands/extension/uninstall.ts

aha extension:watch

Watch the current directory for changes and install the extension each time a file changes

USAGE
  $ aha extension:watch [-s <value>] [--noCache]

FLAGS
  -s, --subdomain=<value>  Aha! subdomain to use for authentication
  --noCache                skip cached http imports

DESCRIPTION
  Watch the current directory for changes and install the extension each time a file changes

See code: src/commands/extension/watch.ts

aha help [COMMANDS]

Display help for aha.

USAGE
  $ aha help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for aha.

See code: @oclif/plugin-help

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.15.0
    7
    • latest

Version History

Package Sidebar

Install

npm i aha-cli

Weekly Downloads

285

Version

1.15.0

License

MIT

Unpacked Size

77.5 kB

Total Files

46

Last publish

Collaborators

  • percyhanna
  • k1w1
  • alexbartlow
  • andrewvit
  • jjbohn
  • jsteel