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

auto-detect light-modules folder for create-* commands

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None

    Description

      mmichel provided some good feedback on the CLI.

      after jumpstart users should just be able to use the create-* commands, e.g. create-page, without the need to specifiy a path or cd into the directory.

      that makes getting started a lot easier for beginners who just jumpstarted their first magnolia and don't know much about the internals (light-module folders and symlinks etc)

      after creation of e.g. a light-module we could additionally print:

      Your light-module was created.
      To modify it, open /Users/robert/magnolia/light-modules/foobar in a text-editor
      

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              rkowalski Robert Kowalski
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD