@aha-app/aha-cli

Command line interface for Aha! (www.aha.io)

Usage no npm install needed!

<script type="module">
  import ahaAppAhaCli from 'https://cdn.skypack.dev/@aha-app/aha-cli';
</script>

README

aha-cli

Command line interface for working with Aha!.

Currently supported commands are for creating and managing extensions.

Usage

$ npm install -g @aha-app/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

OPTIONS
  -s, --subdomain=subdomain  Aha! subdomain to use for authentication

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

aha auth:login

Login to Aha! and save credentials for other commands

USAGE
  $ aha auth:login

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

DESCRIPTION
  Credentials are saved in ~/.netrc

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

aha extension:build

Build an extension into a zip file for ease of distribution

USAGE
  $ aha extension:build

OPTIONS
  -s, --subdomain=subdomain  Aha! subdomain to use for authentication

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

aha extension:create

Create an example extension

USAGE
  $ aha extension:create

OPTIONS
  -s, --subdomain=subdomain  Aha! subdomain to use for authentication

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

aha extension:install

Install the extension from the current directory

USAGE
  $ aha extension:install

OPTIONS
  -s, --subdomain=subdomain  Aha! subdomain to use for authentication
  --dumpCode                 dump all code as it is uploaded

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

aha extension:tail

Live tail extension logs

USAGE
  $ aha extension:tail

OPTIONS
  -s, --subdomain=subdomain  Aha! subdomain to use for authentication

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

aha extension:uninstall

Uninstall the extension in the current directory

USAGE
  $ aha extension:uninstall

OPTIONS
  -s, --subdomain=subdomain  Aha! subdomain to use for authentication

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

OPTIONS
  -s, --subdomain=subdomain  Aha! subdomain to use for authentication

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

aha help [COMMAND]

display help for aha

USAGE
  $ aha help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help