package

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

  1. Add the dependency to your shard.yml:
 dependencies:
   picksy:
     git: https://git.sr.ht/~hxii/picksy

or from GitHub:

dependencies:
  picksy:
    github: hxii/picksy
  1. Run shards install

Usage

require "picksy"

options = {
  "key1" => "value1",
  "key2" => "value2",
}
picker = Picksy.new(options)
puts "You chose: #{picker.query}"

Contributing

  1. Fork it (https://github.com/your-github-user/picksy/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • hxii - creator and maintainer

API