1.0.2 • Published 9 months ago

@magnolia/cli-jumpstart-plugin v1.0.2

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
-
Last release
9 months ago

JumpstartPlugin

A plugin for Magnolia CLI to download and set up a new headless or freemarker-based project with Magnolia webapp

Installation

Within the Magnolia CLI plugin system, this plugin is pre-installed and ready to be used.

Usage

Options

ShortLongDescription
-m <version>--magnolia <version>set the Magnolia version; defaults to the latest stable version
-s--snapshotdownload the latest snapshot version of the specified or latest stable webapp
-t <name>--template <name>choose a template from available project templates
-p <source>--project-templates <source>specify the source to load project templates from
-v--versionoutput the version number
-h--helpdisplay help for command

Examples

Jumpstart a project

npx @magnolia/cli jumpstart

This command will prompt you with a list of available templates to choose from. Once you select a template, the CLI will download and configure the project with the latest Magnolia version (or with version associated with that template)

Jumpstart a project with specific template

npx @magnolia/cli jumpstart --template "standard-webapps/magnolia-community-webapp"

This command will start downloading and configuring project based on "standard-webapps/magnolia-community-webapp" template with latest Magnolia version.

Jumpstart a project with specific template and specific magnolia version

npx @magnolia/cli jumpstart --template "standard-webapps/magnolia-community-webapp" --magnolia "6.2.11"

This command will start downloading and configuring project based on "standard-webapps/magnolia-community-webapp" template with 6.2.11 Magnolia version.

Plugin Documentation

For detailed documentation of the plugin, please refer to Plugin Documentation

Magnolia CMS

This plugin is created to work with Magnolia CMS. For more information, please refer to Magnolia CMS Documentation