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

Improve descriptions for create-component and add-availability

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Obsolete
    • Neutral
    • 0.0.1
    • None

    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

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD