[ https://issues.apache.org/jira/browse/HDDS-13102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ethan Rose updated HDDS-13102: ------------------------------ Description: Each {{list}} subcommand in Ozone controls length differently. Some use {{\-\-length/\-l}}, some use {{\-\-count/-c}}, some support passing {{-1}} to give all results, others have a {{\--all}} flag. Some support continuation tokens, others do not. This Jira proposes using a PicoCLI [mixin|https://picocli.info/apidocs/picocli/CommandLine.Mixin.html] to standardize the options among all list type commands. (was: Each {{list}} subcommand in Ozone controls length differently. Some use {{--length/-l}}, some use {{--count/-c}}, some support passing {{-1}} to give all results, others have a {{--all}} flag. Some support continuation tokens, others do not. This Jira proposes using a PicoCLI [mixin|https://picocli.info/apidocs/picocli/CommandLine.Mixin.html] to standardize the options among all list type commands.) > Create PicoCLI mixin to standardize command line list options > ------------------------------------------------------------- > > Key: HDDS-13102 > URL: https://issues.apache.org/jira/browse/HDDS-13102 > Project: Apache Ozone > Issue Type: Improvement > Components: Ozone CLI > Reporter: Ethan Rose > Priority: Major > > Each {{list}} subcommand in Ozone controls length differently. Some use > {{\-\-length/\-l}}, some use {{\-\-count/-c}}, some support passing {{-1}} to > give all results, others have a {{\--all}} flag. Some support continuation > tokens, others do not. This Jira proposes using a PicoCLI > [mixin|https://picocli.info/apidocs/picocli/CommandLine.Mixin.html] to > standardize the options among all list type commands. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org