@franklinjs/cli
v3.6.0
Published
`franklin` commands for the Adobe I/O CLI
Keywords
Readme
Franklin CLI
franklin commands for the Adobe I/O CLI
Usage
$ aio plugins:install @franklinjs/cli
$ # OR
$ aio discover -i
$ aio franklin --helpCommands
aio franklin:add:ciaio franklin:add:componentaio franklin:buildaio franklin:deployaio franklin:devaio franklin:postinstall
aio franklin:add:ci
Add a CI/CD workflow to the franklin project
USAGE
$ aio franklin:add:ci
EXAMPLE
$ aio app add ciaio franklin:add:component
Add a new component to the franklin project
USAGE
$ aio franklin:add:component
EXAMPLE
$ aio app add componentaio 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-nameaio 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-nameaio 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 --workeraio franklin:postinstall
Post Install command
USAGE
$ aio franklin:postinstall
EXAMPLE
$ aio franklin postinstallDevelopment
Checkout the project, run npm i then link the plugin with aio plugins link .
Verify the plugin is linked successfully by running aio plugins.
