{"repo":"VeryGoodOpenSource/cli_completion","free":true,"listed":false,"github":"https://github.com/VeryGoodOpenSource/cli_completion","clone":"git clone https://github.com/VeryGoodOpenSource/cli_completion.git","description":"Completion functionality for Dart Command-Line Interfaces built using CommandRunner. Built by Very Good Ventures. 🦄","language":"Dart","stars":54,"topics":["cli","command-line","completion","dart"],"license":"MIT","category":"cli-tools","readme_excerpt":"CLI Completion [![Very Good Ventures][logo black]][very good ventures link light] [![Very Good Ventures][logo white]][very good ventures link dark] [![ci][ci badge]][ci link] [![coverage][coverage badge]][ci link] [![pub package][pub badge]][pub link] [![style: very good analysis][very good analysis badge]][very good analysis link] [![License: MIT][license badge]][license link] --- ![screen][screen gif] Completion functionality for Dart Command-Line Interfaces built using CommandRunner . Developed with 💙 by [Very Good Ventures][very good ventures link] 🦄 Installation 💻 ❗ In order to start using CLI Completion you must have the [Dart SDK][dart install link] installed on your machine. Usage ✨ On your CommandRunner class, extend CompletionCommandRunner : This will make the first command run to install the completion files automatically. To disable that behavior, set enableAutoInstall to false: When enableAutoInstall is set to false, users will have to call install-completion-files to install these files manually. Documentation 📝 For an overview of how this package works, check out the [documentation][docs link]. --- Troubleshooting 🧠🔨 Tab completion is taking too long Handling completion requests should be straightforward. If there are any checks (like analytics, telemetry, or anything that you may have on run or runCommand overrides) before running subcommands, make sure you fast track the completion command to skip all of the unnecessary computations. Example: Tab comple","default_branch":null,"files":null,"tree":[],"storefront":"/r/VeryGoodOpenSource","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/VeryGoodOpenSource/cli_completion/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}