Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-33492

Create a mechanism for deprecating fields in hammer info commands

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Hammer
    • None
    • None

      Currently, hammer has no way to deprecate old fields our developers wish to remove. Add an option for deprecating a field. When a deprecated field is displayed, add a stderr warning message indicating it will be removed in the future. Update `doc/creating_commands.md` to show how to deprecate a field.

       

      Redmines:

      https://projects.theforeman.org/issues/38410

      https://projects.theforeman.org/issues/38427

       

      GitHub PRs:

      https://github.com/theforeman/hammer-cli/pull/395

      https://github.com/theforeman/hammer-cli/pull/397

              rhn-engineering-qjames Quinn James
              rhn-engineering-qjames Quinn James
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: