Magnolia 5.6 reached end of life on June 25, 2020. This branch is no longer supported, see End-of-life policy.
HTML Wrap | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
Magnolia CLI Tool makes web developers' lives easier.
|
Magnolia CLI is an npm package providing a command line interface (CLI) tool to set up and facilitate light development with Magnolia. This page describes how to install, set up and use its commands.
...
-p <path> | optional The -p option for the jumpstart command specifies the path to the light modules root folder which is observed for changes, not to an alternative location for the bundle to be installed. If no path is provided, the a default folder named The path to the light modules root folder is set by the |
-m <version> | optional The desired version of the Magnolia bundle. If not provided, defaults to the latest version of the chosen bundle (magnolia-community-demo-bundle or magnolia-enterprise-pro-demo-bundle). |
-i <name> | optional If provided, a sample light module under the light modules root folder with the given name is created. |
| optional (since 1.0.5) Downloads a |
-c | optional (since 2.2.0) Downloads a Magnolia Cloud bundle. Requires credentials to Magnolia Nexus. |
Code Pro | ||
---|---|---|
| ||
mgnl jumpstart -e -m 5.4.5 |
...
<light-module-name> | required At least one name of a light module to be downloaded from npm. If installing more than one module from the repository, separate the module names with a space. |
-p <path> | optional The path to the light-modules folder. If omitted, mgnl is searching for the nearest |
Code Pro |
---|
mgnl install google-maps-magnolia mgnl-bobby -p /Users/johndoe/dev/mgnl/light-modules/other-users-modules/ |
...
-c
(--cloud
) has been added to the the jumpstart
command command. mgnl jumpstart --cloud
downloads c
downloads and sets up a Magnolia Cloud bundle. It requires credentials to access Magnolia Nexus.alt
attribute uses the caption
property. NPMCLI-31__lightDevModuleFolder__
for the name of the corresponding light module can be used in all prototypes files for page and component templates (in mgnl-cli-prototypes/page/*
and mgnl-cli-prototypes/component
). NPMCLI-84tab-completion install
command, if completed successfully, will also display the files (together with their paths) to which the autocompletion script has been appended. NPMCLI-107lib/locales/
). The messages in English are located in the en
subfolder. NPMCLI-91...