Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2285

Allow commands to be deprecated

    XMLWordPrintable

Details

    Description

      Right now there are situations where we want to rename a command but we don't want to break scripts, same goes for the option names.

      There should be a way to preserve the behavior, but in a deprecated way. Eg: suppose we rename java-new-method to java-add-method:
      Scripts that still use java-new-method should display a warning saying that the command is deprecated and now you should use java-add-method

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ggastald George Gastaldi
              rhn-support-ggastald George Gastaldi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: