-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
occ app:list filter #28640
occ app:list filter #28640
Conversation
core/Command/App/ListApps.php
Outdated
->addArgument( | ||
'search-pattern', | ||
InputArgument::OPTIONAL, | ||
'Restrict the list to apps whose name matches the given regular expression' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to -> of
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used similar words to https://github.com/owncloud/core/blob/master/core/Command/User/ListUsers.php#L51
I could be more verbose and say:
Restrict the list of apps to those whose name matches the given regular expression
Note: I would like to make use of this from firewall testing scripts, to avoid the firewall app getting disabled on me all the time. There are probably other app testing scripts that could also make use of this to improve their friendliness. |
what admin is patient enough to type "--search-pattern" ? please make that "--search" |
It is an argument, not a command option:
is all that is needed |
@DeepDiver1975 @PVince81 questions addressed, I think. Please re-review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Backport to stable10 #28653 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
oc app:list
so the user can filter the list to just matching app names.run.sh
script to preserve the existing state of the testing appRelated Issue
#28638
Motivation and Context
occ app:list
, that possibility comes for free hereHow Has This Been Tested?
Types of changes
Checklist: