All apps/Magnolia CLI

Magnolia CLI

mgnl

Command line interface for light development with Magnolia CMS.

Runs as mgnl|macOS, Linux, Windows

Command form

ai-draft · 3 tasks · 7 fields

Create page templates, install light modules and start Magnolia.

Opens the form; the finished command lands at your prompt, unrun
otty gui mgnl

mgnl create-page

Create a page template

Create a new page template in a light module.

Create a page templateExample values, fixed in this page — nothing here reaches a terminal
Basic
Template name*
string
Light module path
directory
TasksEach one presets the form for one job
Create page
templatepath
ParametersOnly these flags are editable in the form
Template name
Cannot contain spaces.
string · positional 0
Light module path
path
--path-p
Prototype
string
--prototype-P

mgnl install

Install light modules

Download light modules from npm.

Install light modulesExample values, fixed in this page — nothing here reaches a terminal
Basic
Module names*
string
Light-modules folder
directory
TasksEach one presets the form for one job
Install
modulespath
ParametersOnly these flags are editable in the form
Module names
string · positional 0 · repeatable
Light-modules folder
path
--path-p

mgnl start

Start Magnolia

Start Magnolia and show the main log.

Start MagnoliaExample values, fixed in this page — nothing here reaches a terminal
Basic
apache-tomcat folder
directory
TasksEach one presets the form for one job
Start
path
ParametersOnly these flags are editable in the form
apache-tomcat folder
path
--path-p
Do not ignore open files limit check
boolean
-d
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed mgnl against its version. A form that does not match your version is not offered.