{"repo":"bashly-framework/completely","free":true,"listed":false,"github":"https://github.com/bashly-framework/completely","clone":"git clone https://github.com/bashly-framework/completely.git","description":"Generate bash completion scripts using a simple configuration file","language":"Ruby","stars":137,"topics":["bash","bash-completion","bash-completions","ruby","gem"],"license":"MIT","category":"cli-tools","readme_excerpt":"Completely - Bash Completions Generator Completely is a command line utility and a Ruby library that lets you generate bash completion scripts from simple YAML configuration. This tool is for you if: 1. You develop your own command line tools. 2. Your life feels empty without bash completions. 3. Bash completion scripts seem overly complex to you. Note that if you are building bash command line scripts with [bashly][bashly], then this functionality is already integrated with it. --- Install or with homebrew: or with Docker: Configuration syntax Completely works with a YAML configuration file as input, and generates a bash completions script as output. There are three configuration formats: - Pattern config : Recommended for new projects. It describes command shapes, option groups, and value sources explicitly. - Flat config : The original simple pattern-to-suggestions format. - Nested config : A nested spelling of the flat config format. You can save a sample YAML file by running: This creates a completely.yaml file using the recommended pattern config format. You can also choose a format explicitly: To generate the bash script, run: For more options, run: Pattern config Pattern config is the recommended format for new completion files. The patterns section describes valid command shapes: - Plain words are command words, for example mygit , init , and status . - Command aliases can be written with , for example status st . - [name options] references options.name . [name] is ","default_branch":null,"files":null,"tree":[],"storefront":"/r/bashly-framework","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bashly-framework/completely/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."}