aha-cli
v1.15.0
Published
Command line interface for Aha! (www.aha.io)
Downloads
999
Keywords
Readme
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
aha auth:login
aha extension:add-contribution
aha extension:build
aha extension:create
aha extension:install
aha extension:tail
aha extension:uninstall
aha extension:watch
aha help [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