@franklinjs/cli
v3.6.0
Published
`franklin` commands for the Adobe I/O CLI
Downloads
57
Keywords
Readme
Franklin CLI
franklin
commands for the Adobe I/O CLI
Usage
$ aio plugins:install @franklinjs/cli
$ # OR
$ aio discover -i
$ aio franklin --help
Commands
aio franklin:add:ci
aio franklin:add:component
aio franklin:build
aio franklin:deploy
aio franklin:dev
aio franklin:postinstall
aio franklin:add:ci
Add a CI/CD workflow to the franklin project
USAGE
$ aio franklin:add:ci
EXAMPLE
$ aio app add ci
aio franklin:add:component
Add a new component to the franklin project
USAGE
$ aio franklin:add:component
EXAMPLE
$ aio app add component
aio franklin:build
Build command
USAGE
$ aio franklin:build
OPTIONS
-n, --name=name Add custom project name
--skip-actions [DEPRECATED] Action deployment is moved to deploy command
EXAMPLES
$ franklin build
$ aio franklin build --name=my-project-name
aio franklin:deploy
Deploy command
USAGE
$ aio franklin:deploy
OPTIONS
-n, --name=name Add custom project name
--skip-actions Skip deploying actions
--skip-prerender Skip prerender
--skip-resolver Skip deploying resolver
--skip-worker Skip deploying worker
EXAMPLE
$ aio franklin deploy --name=host-name
aio franklin:dev
Starts a local development environment
USAGE
$ aio franklin:dev
OPTIONS
-n, --name=name Add custom project name in worker mode
-w, --worker Worker mode
--skip-actions Skip deploying actions
EXAMPLES
$ aio franklin dev
$ aio franklin dev --worker
aio franklin:postinstall
Post Install command
USAGE
$ aio franklin:postinstall
EXAMPLE
$ aio franklin postinstall
Development
Checkout the project, run npm i
then link the plugin with aio plugins link .
Verify the plugin is linked successfully by running aio plugins
.