{"repo":"bashly-framework/bashly","free":true,"listed":false,"github":"https://github.com/bashly-framework/bashly","clone":"git clone https://github.com/bashly-framework/bashly.git","description":"Bash command line framework and CLI generator","language":"Ruby","stars":2433,"topics":["bash","ruby","cli-generator","cli-framework","code-generator","cli","bash-scripting"],"license":"MIT","category":"cli-tools","readme_excerpt":"Bashly - Bash CLI Framework and Generator Create feature-rich bash scripts using simple YAML configuration bashly.dev --- Bashly is a command line application (written in Ruby) that lets you generate feature-rich bash command line tools. Bashly lets you focus on your specific code, without worrying about command line argument parsing, usage texts, error messages and other functions that are usually handled by a framework in any other programming language. It is available both as a ruby gem and as a docker image. Documentation - [Bashly Homepage][docs] - [Examples][examples] - [Bashly AI Assistant][gpt] How it works 1. You provide a YAML configuration file, describing commands, sub-commands, arguments, and flags. Running bashly init creates an initial sample YAML file for you (example). 2. Bashly then automatically generates a bash script (when you run bashly generate ) that can parse and validate user input, provide help messages, and run your code for each command. 3. Your code for each command is kept in a separate file, and can be merged again if you change it (example). Features Bashly is responsible for: - Generating a single, standalone bash script . - Generating a human readable, shellcheck-compliant and shfmt-compliant script . - Generating usage texts and help screens, showing your tool's arguments, flags and commands (works for sub-commands also). - Parsing the user's command line and extracting: - Optional or required positional arguments . - Optional or required o","default_branch":null,"files":null,"tree":[],"storefront":"/r/bashly-framework","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bashly-framework/bashly/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."}