Overview of clir features
masterclir is a simple, clear, and dependency-free CLI library for Go. It is designed to be lightweight while providing robust command-line interface capabilities. Key features include:
- Nested Subcommands: Organize complex CLI tools with hierarchical commands.
- Standard Library Integration: Uses the standard Go
flagpackage. - Struct-based Flags: Easily map flags to struct fields.
- Positional Args: Support for arguments passed by position.
- Auto-generated Help: Automatically creates help menus based on your configuration.
- Custom Banners: Define custom headers for your CLI output.
- Hidden Subcommands: Hide specific commands from the help menu.
- Default Subcommand: Specify a command to run if none is provided.
- Dependency Free: No external dependencies required.