Uploaded image for project: 'Magnolia CLI'
  1. Magnolia CLI
  2. NPMCLI-124

All mgnl commands end up with "...does not exist, try --help"

    Details

    • Type: Task
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Fedora 25: Linux 4.9.14-200.fc25.x86_64 #1 SMP Mon Mar 13 19:26:40 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
      Client is behind a proxy server
      NodeJS: v6.10.1
    • Sprint:
      Basel 89, Basel 90
    • Story Points:
      0.5

      Description

      Install mgnl accouding to https://documentation.magnolia-cms.com/display/DOCS/Magnolia+CLI

      $ npm install @magnolia/cli -g

      help works as expected:

      $ mgnl help

      Usage: mgnl <command> [options]

      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-component create a component and optionally add availability for it.
      create-light-module create a light module.
      create-page create a page template.
      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 a light module.
      tab-completion install tab autocomplete feature for Bash, zsh or PowerShell
      help [cmd] display help for [cmd]

      A tool to setup and facilitate light development with Magnolia CMS

      Options:

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

      $ mgnl create-light-module
      info Using configuration at /home/user/Development/node-v6.10.1-linux-x64/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli.json
      info Using prototypes at /home/user/Development/node-v6.10.1-linux-x64/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli-prototypes

      mgnl-create-light-module(1) does not exist, try --help

      Any other mgnl command ends up with "mgnl-...(1) does not exist, try --help"

        Attachments

          Activity

            People

            • Assignee:
              rkowalski Robert Kowalski
              Reporter:
              ip6li Christian Felsing
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: