[ 
https://issues.apache.org/jira/browse/HDDS-13102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17953479#comment-17953479
 ] 

Attila Doroszlai commented on HDDS-13102:
-----------------------------------------

{{ListOptions}} was introduced in HDDS-2691.  However, there may still be work 
left to do for this task, as there are commands that could possibly use, but do 
not:

hadoop-ozone/cli-admin/src/main/java/org/apache/hadoop/hdds/scm/cli/cert/ListSubcommand.java
hadoop-ozone/cli-admin/src/main/java/org/apache/hadoop/hdds/scm/cli/container/ListSubcommand.java
hadoop-ozone/cli-admin/src/main/java/org/apache/hadoop/ozone/admin/om/ListOpenFilesSubCommand.java
hadoop-ozone/cli-admin/src/main/java/org/apache/hadoop/ozone/admin/scm/GetFailedDeletedBlocksTxnSubcommand.java
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/debug/ldb/DBScanner.java

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to