Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-374

improve "puppetserver gem" handling of unsupported subcommands

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:

      Description

      Add a whitelist in the implementation of puppetserver gem ... which defines the set of subcommands that are actually supported. If a given subcommand is unsupported, the user should receive a very clear error message saying something along the lines of ...

      'puppetserver gem foobar' is not a supported command.  The available subcommands to 'puppetserver gem' are:
        list - lists all the gems
        something - does something else
      

      This should prevent users from trying to use things which don't work, like puppetserver gem server. This came out of discussion on SERVER-311.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              kevin.corcoran Kevin Corcoran
              QA Contact:
              Erik Dasher
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support