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

Improve descriptions for create-component and add-availability

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Neutral
    • Resolution: Obsolete
    • Affects Version/s: None
    • Fix Version/s: 0.0.1
    • Labels:

      Description

      Some of the "create-component" self documentation is not clear.
      Also the abiltiy to specify

      [moduleName:]

      should be removed as it makes referencing pages more complicated. (The addAvailability command should be updated in this way.)

      Fix to:
      Creates a component and optionally makes it available (or autogenerated) in a given area of a page. E.g. mgnl create-component foo -a myPage@main -p /path/to/module

      -a, --available <[relPath/]page@area> Make available on page in area
      -g, --autogenerate <[relPath/]page@area> Autogenerate on page in area

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                    Checklists

                    DoD