TNG / please-cli

An AI helper for creating CLI commands
Apache License 2.0
71 stars 17 forks source link

Feature Proposal: Restriction to available commands #48

Open christianTNG opened 3 months ago

christianTNG commented 3 months ago

Sometimes please suggests tools which are not yet installed on the current system. Thus, it could run something like compgen -ac first to get the list of currently available commands. This list could then be included in the prompt, maybe with the hint that for unavailable tools an install step should be added to the final command.