Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: NPMCLI-214, align output with cli 3.1.0

...

Expand
titleExpand to show the output of mgnl help
Code Block
  Usage: mgnl <command> [options]

  A tool to setup and facilitate light development with Magnolia CMS

  Options:

    -Vv, --version           output the version number
    -h, --help              output usage information

  Commands:

    jumpstart               download and setup a Magnolia CMS instance for development.
    start                   start up a Magnolia CMS instance. To stop it, enter CTRL+C
    add-availability        add component availability.
    build                   scan a node_modules folder for npm packages with the keyword "magnolia-light-module" (in package.json) and extract them to a directory of choice.
  create-app              create an app.
  create-block            create a block.
  create-component        create a component and optionally add availability for it.
  create-content-type     create a content type.
  create-light-module     create a light module.
    create-page             create a page template.
  create-virtual-uri      create a virtual uri mapping.
  customize-local-config  extract "mgnl-cli-prototypes" folder and "mgnl-cli.json" file to customize CLI configuration.
    install                 install a light module from npm to the local Magnolia instance.
    search                  search for a light module on npm.
    tab-completion          install tab autocomplete feature for Bash, zsh or PowerShell
  version                 display mgnl and node.js versions
  help [cmd]              display help for [cmd]

  mgnl: 23.21.0 node: v6v8.1110.0 os: darwinlinux