github.com/hxii/picksy.cr
master / published Aug 30, 2025 / repository
A simple picker module for Crystal.
picksy
Picksy is a simple picker module for Crystal.
Installation
- Add the dependency to your
shard.yml:
dependencies:
picksy:
git: https://git.sr.ht/~hxii/picksy
or from GitHub:
dependencies:
picksy:
github: hxii/picksy
- Run
shards install
Usage
require "picksy"
options = {
"key1" => "value1",
"key2" => "value2",
}
picker = Picksy.new(options)
puts "You chose: #{picker.query}"
Contributing
- Fork it (https://github.com/your-github-user/picksy/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
- hxii - creator and maintainer