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

    1.12.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
    
    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:add-contribution

    Add a contribution to an extension

    USAGE
      $ aha extension:add-contribution
    
    OPTIONS
      -s, --subdomain=subdomain  Aha! subdomain to use for authentication
    

    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
    
    OPTIONS
      -s, --subdomain=subdomain  Aha! subdomain to use for authentication
      --noCache                  skip cached http imports
    

    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
      --noCache                  skip cached http imports
    

    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
      --noCache                  skip cached http imports
    

    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

    Keywords

    Install

    npm i aha-cli

    DownloadsWeekly Downloads

    4,469

    Version

    1.12.0

    License

    MIT

    Unpacked Size

    74.1 kB

    Total Files

    46

    Last publish

    Collaborators

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