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

ASF GitHub Bot commented on KARAF-4542:
---------------------------------------

awrb commented on code in PR #1642:
URL: https://github.com/apache/karaf/pull/1642#discussion_r992365446


##########
features/command/src/main/java/org/apache/karaf/features/command/ListFeaturesCommand.java:
##########
@@ -49,12 +50,16 @@ public class ListFeaturesCommand extends 
FeaturesCommandSupport {
     @Option(name = "-o", aliases = {"--ordered"}, description = "Display a 
list using alphabetical order ", required = false, multiValued = false)
     boolean ordered;
 
+    @Option(name = "--repository", description = "Only list features from that 
repository", required = false, multiValued = false)

Review Comment:
   The ticket suggested to use `name = "-r"`  but since then it was used for 
another option (--required). So I used full name here.





> Add an option to feature:list to list features provided by a given repository
> -----------------------------------------------------------------------------
>
>                 Key: KARAF-4542
>                 URL: https://issues.apache.org/jira/browse/KARAF-4542
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Priority: Major
>
> When we use {{feature:repo-add}}, it would be great to be able to list all 
> features provided only by this repository (using the repository name or URL).
> It would be great to provide an option to {{feature:list}} (like {{-r}}) to 
> list only the features provided by a repository.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to