-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Autocomplete for occ app commands #1476
Conversation
@nickvergessen, thanks for your PR! By analyzing the annotation information on this pull request, we identified @icewind1991, @MorrisJobke and @Xenopathic to be potential reviewers |
c618fc5
to
9695cfe
Compare
Merged nextcloud/3rdparty#16 and updated third-party reference to nextcloud/3rdparty@cc365d1 |
@nickvergessen So what command do I have to execute exactly? All those three you posted don't work locally here. I guess I miss something obvious ;) |
For me I execute Afterwards |
e31f5d5
to
0facad2
Compare
Works nicely, I commited regenerated autoloading files 👍 |
0facad2
to
64570d6
Compare
I get this in my zsh (while trying the autocomplete):
And this in my bash (4.x) (already for sourcing the shell completion)
|
I got a similar error just now, because an app required an update. |
Fixed the issue @MorrisJobke |
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
f88c9eb
to
6188955
Compare
Rebased to fix the sign-off check issue |
Tested and works now 👍 Sadly it only work for full path ( |
Current coverage is 30.59% (diff: 0.00%)@@ master #1476 diff @@
==========================================
Files 1080 1082 +2
Lines 59885 60059 +174
Methods 6775 6810 +35
Messages 0 0
Branches 0 0
==========================================
Hits 18375 18375
- Misses 41510 41684 +174
Partials 0 0
|
@MorrisJobke works for relative paths here as well. I guess you just need to generate it twice:
Just tested and confirmed. |
And enjoy full autocompelete for everything on the
app:*
commands (app names, group ids, etc.)Todo
For another PR to keep it simple
@MorrisJobke @LukasReschke @ChristophWurst