[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7986":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":15,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},7986,"bashly","bashly-framework\u002Fbashly","bashly-framework","Bash command line framework and CLI generator","https:\u002F\u002Fbashly.dev",null,"Ruby",2416,94,14,3,0,10,60.43,"MIT License",false,"master",true,[24,25,26,27,28,29,30],"bash","bash-scripting","cli","cli-framework","cli-generator","code-generator","ruby","2026-06-12 04:00:36","\u003Cdiv align='center'>\n\u003Cimg src='support\u002Fimg\u002Fbashly-logo.svg' width=280>\n\n# Bashly - Bash CLI Framework and Generator\n\nCreate feature-rich bash scripts using simple YAML configuration\n\n## [bashly.dev](https:\u002F\u002Fbashly.dev)\n\n---\n\n![demo](support\u002Fdemo\u002Fcast.gif)\n\n\u003C\u002Fdiv>\n\n![repocard](https:\u002F\u002Frepocard.dannyben.com\u002Fsvg\u002Fbashly.svg)\n\nBashly is a command line application (written in Ruby) that lets you\ngenerate feature-rich bash command line tools.\n\nBashly lets you focus on your specific code, without worrying about command line\nargument parsing, usage texts, error messages and other functions that are\nusually handled by a framework in any other programming language.\n\nIt is available both as a [ruby gem](https:\u002F\u002Frubygems.org\u002Fgems\u002Fbashly) and as\na [docker image](https:\u002F\u002Fhub.docker.com\u002Fr\u002Fdannyben\u002Fbashly).\n\n## Documentation\n\n- [Bashly Homepage][docs]\n- [Examples][examples]\n- [Bashly AI Assistant][gpt]\n\n## How it works\n\n1. You provide a YAML configuration file, describing commands, sub-commands,\n   arguments, and flags. Running `bashly init` creates an initial sample YAML\n   file for you ([example](https:\u002F\u002Fgithub.com\u002Fbashly-framework\u002Fbashly\u002Ftree\u002Fmaster\u002Fexamples\u002Fminimal#bashlyyml)).\n2. Bashly then automatically generates a bash script (when you run\n   `bashly generate`) that can parse and validate user input, provide help\n   messages, and run your code for each command.\n3. Your code for each command is kept in a separate file, and can be merged\n   again if you change it ([example](https:\u002F\u002Fgithub.com\u002Fbashly-framework\u002Fbashly\u002Fblob\u002Fmaster\u002Fexamples\u002Fminimal\u002Fsrc\u002Froot_command.sh)).\n\n## Features\n\nBashly is responsible for:\n\n- Generating a **single, standalone bash script**.\n- Generating a **human readable, shellcheck-compliant and shfmt-compliant script**.\n- Generating **usage texts** and help screens, showing your tool's arguments, flags and commands (works for sub-commands also).\n- Parsing the user's command line and extracting:\n  - Optional or required **positional arguments**.\n  - Optional or required **option flags** (with or without flag arguments).\n  - **Commands** (and sub-commands).\n  - Standard flags (like **--help** and **--version**).\n- Preventing your script from running unless the command line is valid.\n- Providing you with a place to input your code for each of the functions your tool performs, and merging it back to the final script.\n- Providing you with additional (optional) framework-style, standard library functions:\n  - **Color output**.\n  - **Config file management** (INI format).\n  - **YAML parsing**.\n  - **Bash completions**.\n  - *and more*.\n- Auto-generating **markdown and man page documentation** for your script.\n\n## Contributing \u002F Support\n\nIf you experience any issue, have a question or a suggestion, or if you wish\nto contribute, feel free to [open an issue][issues] or\n[start a discussion][discussions].\n\nVisit the *[How to contribute][contributing]* page for more information.\n\n\n[issues]: https:\u002F\u002Fgithub.com\u002Fbashly-framework\u002Fbashly\u002Fissues\n[discussions]: https:\u002F\u002Fgithub.com\u002Fbashly-framework\u002Fbashly\u002Fdiscussions\n[docs]: https:\u002F\u002Fbashly.dev\u002F\n[gpt]: https:\u002F\u002Fbashly.dev\u002Fchat\n[examples]: https:\u002F\u002Fgithub.com\u002Fbashly-framework\u002Fbashly\u002Ftree\u002Fmaster\u002Fexamples#bashly-examples\n[contributing]: https:\u002F\u002Fgithub.com\u002Fbashly-framework\u002Fbashly\u002Fblob\u002Fmaster\u002FCONTRIBUTING.md#how-to-contribute\n","Bashly 是一个用于生成功能丰富的 Bash 命令行工具的框架和生成器。它通过简单的 YAML 配置文件自动生成解析用户输入、提供帮助信息并执行特定代码的 Bash 脚本，从而让开发者专注于业务逻辑实现而无需关心命令行参数解析等基础功能。Bashly 生成的脚本不仅独立且易于阅读，还符合 shellcheck 和 shfmt 标准，并支持多种标准库函数如颜色输出、配置文件管理等。此外，Bashly 还能自动生成 Markdown 和 man 页面文档。该工具适用于需要快速构建高质量 CLI 应用程序的场景，无论是个人项目还是企业级应用都能从中受益。",2,"2026-06-11 03:15:29","top_language"]