You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2022/05/12 08:36:00 UTC

[jira] [Updated] (HDDS-6736) Ensure consistent CLI options

     [ https://issues.apache.org/jira/browse/HDDS-6736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Doroszlai updated HDDS-6736:
-----------------------------------
    Description: 
Ozone CLI command options have a mix of style.  The goal of this task is to:

# 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)
# 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

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

# ensure consistent options exist
#* long options in {{\-\-dash-separated-style}}
#* single-char short options where possible
# 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


> Ensure consistent CLI options
> -----------------------------
>
>                 Key: HDDS-6736
>                 URL: https://issues.apache.org/jira/browse/HDDS-6736
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone CLI
>            Reporter: Attila Doroszlai
>            Priority: Major
>
> Ozone CLI command options have a mix of style.  The goal of this task is to:
> # 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)
> # 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



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org