Comments (5)
Is some specific action required to enable integration?
Not as otherwise necessary. Have a hard time to find an idea why it should be different for acli
. Maybe they do something specific, the shell's autocomplete is unable to detect it?
Perhaps non-portable characters or names not consisting entirely of the Portable Filename Character Set?
If you leave more information it might shed some light.
from symfony-console-autocomplete.
There appears to be a whitelist of supported packages in DumpCommand.php, adding acli
fixes it: #67
If that's not a whitelist, then what's the purpose of that list, and how would a package not on that list be discovered?
I assume I'm missing something here, because the README strongly implies that any package should work out of the box, not just packages on that list.
from symfony-console-autocomplete.
Not sure this is a whitelist, please compare with #49 for a scenario as well with an issue.
But good to know that 7652c05 is helping you with the issue.
Any chance one of the command-line options allows you to achieve as well w/o the change? Just asking, because I so far as well don't fully grasp this list.
I found this remark (there at #49) interesting:
Roadiz CMS uses a dedicated CLI entry point name
bin/roadiz
instead ofbin/console
.
Could it be this is also the case for acli
?
from symfony-console-autocomplete.
Okay, now something comes from memories. This is how I understand it:
You normally ship the completion with the utility (the own symfony console one, like acli
in this case). Otherwise (compare #45, #49) for built-in support it needs to be added to the list to be globally available.
So it should be able to add the tooling to the acli build (script/pipeline) and have the completion scripts available within your distribution, so all users of acli
can benefit from it (given a supported platform).
So for your original report, the gap likely is to compare against composer
here (or any other one of the few entries in the list). Users of acli
should already get auto completion by the installing instructions of the utility itself (IMHO, w/o installing additional tooling for it [like this symfony-console-autocomplete]).
Is that an option in your scenario? @danepowell I only took a quick glimpse at acli(1)
public repo, it seems to list you as a contributor.
from symfony-console-autocomplete.
Roadiz CMS uses a dedicated CLI entry point name bin/roadiz instead of bin/console.
Ah, yes, then this is the problem. Acquia CLI uses bin/acli
. So that's the reason that the 'tools' list exists: it's a list of known Console entrypoints. I don't see any way for Acquia CLI to solve this other than to add itself to the list of tools. You mention that this can be solved by the tool (i.e. Acquia CLI) itself, but I don't think that's true. Composer, for instance, doesn't have built-in autocompletion that I can find.
I'll update #67 accordingly.
from symfony-console-autocomplete.
Related Issues (20)
- Usage with docker HOT 4
- Doesn't work on Mac HOT 8
- composer autocompletes, console only globs HOT 2
- symfony-autocomplete: command not found HOT 9
- How to utilise git's branch auto-completion for another program?
- Usage in cygwin + win32 PHP: cannot find non standard script HOT 5
- 48
- Doesn't work for the "symfony" cli tool HOT 3
- PHP Fatal error: Uncaught TypeError: Argument 1 passed to Symfony\Component\Process\Process::__construct() must be of the type array, string given HOT 2
- Problem "bash: _get_comp_words_by_ref: command not found" on docker php:7.4-fpm HOT 4
- Contribute this to symfony/console HOT 1
- Compatibility with Symfony local server HOT 2
- ZSH completion fails when descriptions contain quotes or <'s HOT 14
- Not working with Symfony 6. HOT 4
- PHP 8.1 deprecated return type HOT 13
- Bats tests don't test for shell code correctness HOT 3
- bin-stub hard-encodes the name to vendor directory
- Symfony 7: missing support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from symfony-console-autocomplete.