Giter Club home page Giter Club logo

Comments (5)

ktomk avatar ktomk commented on May 26, 2024

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.

danepowell avatar danepowell commented on May 26, 2024

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.

ktomk avatar ktomk commented on May 26, 2024

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 of bin/console.

Could it be this is also the case for acli?

from symfony-console-autocomplete.

ktomk avatar ktomk commented on May 26, 2024

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.

danepowell avatar danepowell commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.