Tell user when a command is not available because app is disabled
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Is your feature request related to a problem? Please describe.
I installed the previewgenerator app and tried to run the recommand command: occ preview:generate-all but it didn't work.
Turned out I had disabled (or sthg else) the app https://github.com/NixOS/nixpkgs/issues/245691.
I found about it by running occ list.
Describe the solution you'd like
I wish the occ command could have told me that the command was available but not usable because the plugin was disabled ?
Describe alternatives you've considered
alternatively it could have suggested to run occ list
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the situation with occ preview:generate-all while the previewgenerator app is disabled, then compare its output with occ list. Trace the command-discovery and disabled-app handling entry points; done means users are told why the command is unavailable or are directed to occ list.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100