Wondering what’s next for npm?Check out our public roadmap! »

    @adobe/aio-cli-plugin-app

    6.2.0 • Public • Published

    aio-cli-plugin-app

    Create, Build and Deploy Adobe I/O Apps

    oclif Version Downloads/week Node.js CI License Codecov Coverage

    Usage

    $ aio plugins:install -g @adobe/aio-cli-plugin-app
    $ # OR
    $ aio discover -i
    $ aio app --help

    Commands

    aio app

    Create, run, test, and deploy Adobe I/O Apps

    Create, run, test, and deploy Adobe I/O Apps
    
    USAGE
      $ aio app
    
    OPTIONS
      -v, --verbose  Verbose output
      --version      Show version
    

    See code: src/commands/app/index.js

    aio app:add

    Add a new component to an existing Adobe I/O App

    Add a new component to an existing Adobe I/O App
    
    USAGE
      $ aio app:add
    
    OPTIONS
      -v, --verbose  Verbose output
      --version      Show version
    

    See code: src/commands/app/add/index.js

    aio app:add:action

    Add a new action

    Add a new action
    
    
    USAGE
      $ aio app:add:action
    
    OPTIONS
      -v, --verbose   Verbose output
      -y, --yes       Skip questions, and use all default values
      --skip-install  Skip npm installation after files are created
      --version       Show version
    

    See code: src/commands/app/add/action.js

    aio app:add:ci

    Add CI files

    Add CI files
    
    
    USAGE
      $ aio app:add:ci
    
    OPTIONS
      -v, --verbose  Verbose output
      --version      Show version
    

    See code: src/commands/app/add/ci.js

    aio app:add:event

    Add a new Adobe I/O Events action

    Add a new Adobe I/O Events action
    
    
    USAGE
      $ aio app:add:event
    
    OPTIONS
      -v, --verbose   Verbose output
      -y, --yes       Skip questions, and use all default values
      --skip-install  Skip npm installation after files are created
      --version       Show version
    

    See code: src/commands/app/add/event.js

    aio app:add:service

    Subscribe to Services in the current Workspace

    Subscribe to Services in the current Workspace
    
    
    USAGE
      $ aio app:add:service
    
    OPTIONS
      -v, --verbose  Verbose output
      --version      Show version
    
    ALIASES
      $ aio app:add:services
    

    See code: src/commands/app/add/service.js

    aio app:add:web-assets

    Add web assets support

    Add web assets support
    
    
    USAGE
      $ aio app:add:web-assets
    
    OPTIONS
      -v, --verbose   Verbose output
      -y, --yes       Skip questions, and use all default values
      --skip-install  Skip npm installation after files are created
      --version       Show version
    

    See code: src/commands/app/add/web-assets.js

    aio app:build

    Build an Adobe I/O App

    Build an Adobe I/O App
    
    This will always force a rebuild unless --no-force-build is set.
    
    
    USAGE
      $ aio app:build
    
    OPTIONS
      -a, --action=action  Build only a specific action, the flags can be specified multiple times
      -v, --verbose        Verbose output
      --[no-]content-hash  Enable content hashing in browser code (default: true)
      --[no-]force-build   Forces a build even if one already exists (default: true)
      --skip-actions       Skip build of actions
      --skip-static        Skip build of static files
      --skip-web-assets    Skip build of web assets
      --version            Show version
    
    DESCRIPTION
      This will always force a rebuild unless --no-force-build is set.
    

    See code: src/commands/app/build.js

    aio app:create [PATH]

    Create a new Adobe I/O App with default parameters

    Create a new Adobe I/O App with default parameters
    
    
    USAGE
      $ aio app:create [PATH]
    
    ARGUMENTS
      PATH  [default: .] Path to the app directory
    
    OPTIONS
      -i, --import=import  Import an Adobe I/O Developer Console configuration file
      -v, --verbose        Verbose output
      --version            Show version
    

    See code: src/commands/app/create.js

    aio app:delete

    Delete a component from an existing Adobe I/O App

    Delete a component from an existing Adobe I/O App
    
    USAGE
      $ aio app:delete
    
    OPTIONS
      -v, --verbose  Verbose output
      --version      Show version
    

    See code: src/commands/app/delete/index.js

    aio app:delete:action [ACTION-NAME]

    Delete an existing action

    Delete an existing action
    
    
    USAGE
      $ aio app:delete:action [ACTION-NAME]
    
    ARGUMENTS
      ACTION-NAME  Action name to delete, if not specified you will choose from a list of actions
    
    OPTIONS
      -v, --verbose  Verbose output
      -y, --yes      Skip questions, and use all default values
      --version      Show version
    

    See code: src/commands/app/delete/action.js

    aio app:delete:ci

    Delete existing CI files

    Delete existing CI files
    
    
    USAGE
      $ aio app:delete:ci
    
    OPTIONS
      -v, --verbose  Verbose output
      -y, --yes      Skip questions, and use all default values
      --version      Show version
    

    See code: src/commands/app/delete/ci.js

    aio app:delete:event EVENT-ACTION-NAME

    Delete an existing Adobe I/O Events action

    Delete an existing Adobe I/O Events action
    
    
    USAGE
      $ aio app:delete:event EVENT-ACTION-NAME
    
    ARGUMENTS
      EVENT-ACTION-NAME  Action name to delete
    
    OPTIONS
      -v, --verbose  Verbose output
      -y, --yes      Skip questions, and use all default values
      --version      Show version
    

    See code: src/commands/app/delete/event.js

    aio app:delete:service

    Delete Services in the current Workspace

    Delete Services in the current Workspace
    
    
    USAGE
      $ aio app:delete:service
    
    OPTIONS
      -v, --verbose  Verbose output
      --version      Show version
    
    ALIASES
      $ aio app:delete:services
    

    See code: src/commands/app/delete/service.js

    aio app:delete:web-assets

    Delete existing web assets

    Delete existing web assets
    
    
    USAGE
      $ aio app:delete:web-assets
    
    OPTIONS
      -v, --verbose  Verbose output
      -y, --yes      Skip questions, and use all default values
      --version      Show version
    

    See code: src/commands/app/delete/web-assets.js

    aio app:deploy

    Build and deploy an Adobe I/O App

    Build and deploy an Adobe I/O App
    
    This will always force a rebuild unless --no-force-build is set. 
    
    
    USAGE
      $ aio app:deploy
    
    OPTIONS
      -a, --action=action  Deploy only a specific action, the flags can be specified multiple times
      -v, --verbose        Verbose output
      --[no-]content-hash  Enable content hashing in browser code (default: true)
      --[no-]force-build   Forces a build even if one already exists (default: true)
      --open               Open the default web browser after a successful deploy, only valid if your app has a front-end
      --skip-actions       Skip action build & deploy
      --skip-build         Skip build phase
      --skip-deploy        Skip deploy phase
      --skip-static        Skip build & deployment of static files
      --skip-web-assets    Skip build & deployment of web assets
      --version            Show version
    
    DESCRIPTION
      This will always force a rebuild unless --no-force-build is set.
    

    See code: src/commands/app/deploy.js

    aio app:get-url [ACTION]

    Get action URLs

    Get action URLs
    
    USAGE
      $ aio app:get-url [ACTION]
    
    OPTIONS
      -h, --hson     Output human readable json
      -j, --json     Output json
      -v, --verbose  Verbose output
      -y, --yml      Output yml
      --cdn          Display CDN based action URLs
      --version      Show version
    

    See code: src/commands/app/get-url.js

    aio app:init [PATH]

    Create a new Adobe I/O App

    Create a new Adobe I/O App
    
    
    USAGE
      $ aio app:init [PATH]
    
    ARGUMENTS
      PATH  [default: .] Path to the app directory
    
    OPTIONS
      -i, --import=import  Import an Adobe I/O Developer Console configuration file
      -s, --skip-install   Skip npm installation after files are created
      -v, --verbose        Verbose output
      -y, --yes            Skip questions, and use all default values
      --[no-]login         Login using your Adobe ID for interacting with Adobe I/O Developer Console
      --version            Show version
    

    See code: src/commands/app/init.js

    aio app:logs

    Fetch logs for an Adobe I/O App

    Fetch logs for an Adobe I/O App
    
    
    USAGE
      $ aio app:logs
    
    OPTIONS
      -a, --action=action  Fetch logs for a specific action
      -l, --limit=limit    [default: 1] Limit number of activations to fetch logs from ( 1-50 )
      -o, --poll           Fetch logs continuously
      -r, --strip          strip timestamp information and output first line only
      -t, --tail           Fetch logs continuously
      -v, --verbose        Verbose output
      -w, --watch          Fetch logs continuously
      --version            Show version
    

    See code: src/commands/app/logs.js

    aio app:run

    Run an Adobe I/O App

    Run an Adobe I/O App
    
    USAGE
      $ aio app:run
    
    OPTIONS
      -v, --verbose   Verbose output
      --local         run/debug actions locally ( requires Docker running )
      --open          Open the default web browser after a successful run, only valid if your app has a front-end
      --[no-]serve    start frontend server (experimental)
      --skip-actions  skip actions, only run the ui server
      --version       Show version
    

    See code: src/commands/app/run.js

    aio app:test

    Run tests for an Adobe I/O App

    Run tests for an Adobe I/O App
    
    
    USAGE
      $ aio app:test
    
    OPTIONS
      -e, --e2e      runs e2e tests.
      -u, --unit     runs unit tests (default).
      -v, --verbose  Verbose output
      --version      Show version
    

    See code: src/commands/app/test.js

    aio app:undeploy

    Undeploys an Adobe I/O App

    Undeploys an Adobe I/O App
    
    
    USAGE
      $ aio app:undeploy
    
    OPTIONS
      -v, --verbose      Verbose output
      --skip-actions     Skip undeployment of actions
      --skip-static      Skip undeployment of static files
      --skip-web-assets  Skip undeployment of web assets
      --version          Show version
    

    See code: src/commands/app/undeploy.js

    aio app:use [CONFIG_FILE_PATH]

    Import an Adobe Developer Console configuration file

    Import an Adobe Developer Console configuration file
    
    
    USAGE
      $ aio app:use [CONFIG_FILE_PATH]
    
    ARGUMENTS
      CONFIG_FILE_PATH  path to an Adobe I/O Developer Console configuration file
    
    OPTIONS
      -g, --global                         Use the global Adobe Developer Console Org / Project / Workspace configuration,
                                           which can be set via `aio console` commands
    
      -v, --verbose                        Verbose output
    
      -w, --workspace-name=workspace-name  Specify the Adobe Developer Console Workspace name to import the configuration
                                           from
    
      --confirm-service-sync               Skip the Service sync prompt and overwrite Service subscriptions in the new
                                           Workspace with current subscriptions
    
      --merge                              Merge any .aio and .env files during import of the Adobe Developer Console
                                           configuration file
    
      --no-input                           Skip user prompts by setting --no-service-sync and --merge. Requires one of
                                           config_file_path or --global or --workspace-name
    
      --no-service-sync                    Skip the Service sync prompt and do not attach current Service subscriptions to
                                           the new Workspace
    
      --overwrite                          Overwrite any .aio and .env files during import of the Adobe Developer Console
                                           configuration file
    
      --version                            Show version
    
      --workspace                          Prompt for selection of a Workspace in the same Project, and import the
                                           configuration for this Workspace
    

    See code: src/commands/app/use.js

    Keywords

    Install

    npm i @adobe/aio-cli-plugin-app

    DownloadsWeekly Downloads

    1,012

    Version

    6.2.0

    License

    Apache-2.0

    Unpacked Size

    210 kB

    Total Files

    47

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar