A slim and intuitive command-line interface builder for the Crystal programming language.
Clim is a command-line interface builder for the Crystal programming language. It provides a DSL for defining CLI tools with options, arguments, and subcommands, focusing on type safety and minimal boilerplate. It solves the problem of creating structured, user-friendly command-line applications in Crystal.
Crystal developers who need to build command-line tools, utilities, or applications with complex argument parsing and subcommand structures.
Developers choose Clim for its slim, intuitive API, strong type safety across options and arguments, and features like bash completion and customizable help—making it a robust alternative to manual argument parsing.
Slim command line interface builder for Crystal.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports compile-time type checking for a wide range of types including integers, floats, strings, booleans, and arrays, as detailed in the Support section.
Allows full customization of help message output using the help_template block, demonstrated in the samples for tailored CLI documentation.
Automatically generates bash completion scripts for options and subcommands, reducing manual shell integration effort, as shown in the Bash completion section.
Emphasizes a slim implementation and intuitive DSL, enabling quick CLI prototyping with nested subcommands and aliases without excessive code.
Only bash completion is provided, with no mentioned support for other popular shells like zsh or fish, limiting cross-shell usability.
Requires users to manually edit .bashrc and reload it for bash completion, which can be error-prone and inconvenient for deployment.
Tied strictly to the Crystal ecosystem, making it unsuitable for polyglot projects or teams not using Crystal.