picksy

Version, currently master branch1 version
  • master branchlatestAug 30, 2025

github.com/hxii/picksy.cr

A simple picker module for Crystal.

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  picksy:
    github: hxii/picksy.cr
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
>= 1.17.1
License
MIT
Author
hxii

Dependencies

Runtime Dependencies

  • crt*github: maiha/crt.cr

README

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