pick 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/bin/pick +4 -0
- data/lib/pick/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6ec3c9bb0679ede90d4213f7bb49fa4bf28c7ea9
|
|
4
|
+
data.tar.gz: fda0aa1b4ceb45e0c247d73edef3479530448421
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e9e98946ff638a67a2f840b4082bf70fcfb88c70e973bafd51418358ab0a7494a38800ae69e373ab01b400466f6bfd5fb2ad1d226e47131bc7f7c062ab9d586
|
|
7
|
+
data.tar.gz: b4b9e3832b65f3229961b2696849c0262d1ec1965e8994a9507e76c457d696324931cf8e6d803ddd73e215872aec83dcf5e1c24cafd25a5c85c4a7149c3fa617
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org).
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.1.2] -- 2017-10-17
|
|
8
|
+
- Add docs, prompt if input is a TTY, don't print any output if no items are
|
|
9
|
+
chosen, fix executable under rubygems, allow customizing prompt.
|
|
10
|
+
|
|
7
11
|
## [0.1.0] -- 2017-10-17
|
|
8
12
|
|
|
9
13
|
- Add most of the basic pick command line interface.
|
data/bin/pick
CHANGED
|
@@ -64,6 +64,10 @@ Options:
|
|
|
64
64
|
options[:output_delimiter] = "\0"
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
+
opts.on('-p', '--prompt MSG', 'Prompt with message MSG') do |arg|
|
|
68
|
+
options[:prompt] = arg
|
|
69
|
+
end
|
|
70
|
+
|
|
67
71
|
opts.on('-c', '--clipboard', 'Copy output to the clipboard') do
|
|
68
72
|
options[:clipboard] = true
|
|
69
73
|
raise NotImplementedError.new
|
data/lib/pick/version.rb
CHANGED