Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6736

Ensure consistent CLI options

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • Ozone CLI
    • None

    Description

      Ozone CLI command options have a mix of style. The goal of this task is to:

      1. ensure consistent options exist
        • long options in --dash-separated-style
        • single-char short options where possible
        • same name for the same option in different commands (preferably with code reuse)
      2. deprecate other style options to prepare for eventual removal
        • long options in --camelCaseStyle and --underscore_separated_style
        • multi-char "short" options, e.g. -ffc

      Add tests for existing options, too, if missing.

      Subtasks should be created for specific commands or sets of commands.

      https://clig.dev/#arguments-and-flags

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: