{"id":20882302,"url":"https://github.com/ab/pick","last_synced_at":"2026-02-11T10:34:23.704Z","repository":{"id":56888030,"uuid":"107049071","full_name":"ab/pick","owner":"ab","description":null,"archived":false,"fork":false,"pushed_at":"2017-10-18T02:20:26.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T05:41:50.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ab.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-15T21:04:54.000Z","updated_at":"2021-03-03T20:36:23.000Z","dependencies_parsed_at":"2022-08-21T00:50:47.340Z","dependency_job_id":null,"html_url":"https://github.com/ab/pick","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ab%2Fpick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ab%2Fpick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ab%2Fpick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ab%2Fpick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ab","download_url":"https://codeload.github.com/ab/pick/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253797914,"owners_count":21965979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T07:30:54.309Z","updated_at":"2026-02-11T10:34:23.698Z","avatar_url":"https://github.com/ab.png","language":"Ruby","readme":"# Pick\n\nPick is a command line tool for selecting from multiple options. It takes items\non standard input or from a file, and interactively prompts you to choose one\nor more of them.\n\n## Installation\n\n```sh\ngem install pick\n```\n\n## Examples\n\n```sh\n# select a file\nls | pick\n\n# edit a file under the current directory tree\nvim $(find . -type f | pick)\n\n# edit multiple files under the current directory tree\nvim $(find . -type f | pick -m)\n\n# check out a branch interactively\ngit branch -a | pick | xargs git checkout\n\n# delete a file, safe even when filenames contain newlines\nfind . -type f -print0 | pick -0 | xargs -0 rm -v\n\n# delete many files\nfind . -type f -print0 | pick -0 -m | xargs -0 rm -v\n\n# choose a color from colors.txt\npick colors.txt\n```\n\n## Development\n\nAfter checking out the repo, run `bundle install` to install dependencies. Then, run `rake test` to run the tests. You can use `pry -r ./lib/pick` to get an interactive shell.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ab/pick/.\n\n## License\n\nThe gem is available as open source under the terms of the [GPL v3](https://opensource.org/licenses/GPL-3.0).\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fab%2Fpick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fab%2Fpick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fab%2Fpick/lists"}