[
https://issues.apache.org/jira/browse/KARAF-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17615847#comment-17615847
]
ASF GitHub Bot commented on KARAF-4542:
---------------------------------------
jbonofre commented on code in PR #1642:
URL: https://github.com/apache/karaf/pull/1642#discussion_r992374692
##########
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:
You did right ! `--repository` looks good to me.
> 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)