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

Improve descriptions for create-component and add-availability

XMLWordPrintable

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

      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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoD