climate alternatives and similar shards
Based on the "CLI Utils" category.
Alternatively, view climate alternatives based on common mentions on social networks and blogs.
-
hetzner-k3s
A CLI tool to create and manage Kubernetes clusters in Hetzner Cloud using the lightweight distribution k3s by Rancher. -
oq
A performant, and portable jq wrapper to facilitate the consumption and output of formats other than JSON; using jq filters to transform the data. -
tallboy
Declarative API for drawing unicode/ascii character tables in crystal lang -
meet
Start a meeting quickly from the comfort of your command line. ๐ฉโ๐ฉโ๐งโ๐ฆ๏ธ๐จ๏ธ -
terminal_table.cr
Terminal Table is a simple ASCII table generator written in Crystal. -
progress_bar.cr
A ProgressBar implementation for the Crystal programming language
Clean code begins in your IDE with SonarLint
Do you think we are missing an alternative of climate or a related project?
README
climate.cr

Small helper utility to make your CLI program output ๐ coloured by means of configurable markup styles. Think of it as your CLI-mate :)
Installation
- Add the dependency to your
shard.yml
:
dependencies:
climate:
github: Sija/climate.cr
- Run
shards install
Usage
require "climate"
message = "Usage: {#{PROGRAM_NAME}} <required-arg> [optional-arg]"
# you can call `Climate.parse` method directly
puts Climate.parse(message)
# or use a `String#climatize` extension
puts message.climatize
Defaults
Default styles are:
<>
colored in green (keeping delimiters)[]
colored in yellow (keeping delimiters){}
colored in blue (hiding delimiters)!ยก
colored in red (hiding delimiters)
Configuration
You can change the global settings with a #configure
block:
Climate.configure do |settings|
# use defaults
settings.use_defaults!
# and/or configure your own styles
settings.styles << Climate::Style.new(
delimiters: {'?', 'ยฟ'},
keep_delimiters: false,
colors: {
fore: :magenta,
back: :default,
},
decoration: :bold
)
end
For the colors
and decoration
reference values see
documentation for the Colorize
module (which Climate
uses under the hood).
Contributing
- Fork it (https://github.com/Sija/climate.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Sijawusz Pur Rahnama - creator and maintainer
*Note that all licence references and agreements mentioned in the climate README section above
are relevant to that project's source code only.