cli is a simple, fast, and fun package for building command-line apps in Go. The goal is to enable developers to write fast and distributable command-line applications in an expressive way. Usage documentation exists for each major version. Don't know what version you're on? You're probably using the version from the main branch, which is currently v2. Using this package requires a working Go environment. Go Modules are required when using this package. Currently, only YAML, JSON, and TOML files are supported but developers can add support for other input sources by implementing the altsrc.InputSourceContext for their given sources.
Features
- Make sure your PATH includes the $GOPATH/bin directory so your commands can be easily used
- cli is tested against multiple versions of Go on Linux
- This project uses Github Actions for builds
- Go Modules are required when using this package
- Usage documentation exists for each major version
- Using this package requires a working Go environment
License
MIT LicenseFollow cli package
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of cli package!