cl 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/Gemfile.lock +1 -1
- data/lib/cl/help/cmd.rb +1 -0
- data/lib/cl/opt.rb +8 -0
- data/lib/cl/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1c3604dd40f1ba8933a2909c29466c3b216aea9
|
4
|
+
data.tar.gz: 709bbd7c58620b7a9593100dd84c7f3becf975c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81286138022b232fa31366153583eca8e0e0335a8d0aee33078f966eb3668aea1dc86b9c29ba184932584516cc0bfbb30a6c6df03ba10b5e6dd228947f2153e7
|
7
|
+
data.tar.gz: 2b92368c83c2816ee304e52e7d0cfe73f3bedb5d4b5ea18aa9db4d9ade8b75cf4e0ba6340434ddce322341ba38a1fe1a82a53c34d3d182f233c5e7ac26f082eb
|
data/CHANGELOG.md
CHANGED
@@ -21,6 +21,7 @@
|
|
21
21
|
* Add `opt '--one STR', downcase: true`
|
22
22
|
* Add `opt '--one STR', internal: true`, hide internal options from help output
|
23
23
|
* Add `opt '--one STR', example: 'foo'`
|
24
|
+
* Add `opt '--one STR', note: 'note'`
|
24
25
|
* Add `opt '--one STR', see: 'https://provider.com/docs'
|
25
26
|
|
26
27
|
### Changed
|
data/Gemfile.lock
CHANGED
data/lib/cl/help/cmd.rb
CHANGED
@@ -114,6 +114,7 @@ class Cl
|
|
114
114
|
opts << "min: #{opt.min}" if opt.min?
|
115
115
|
opts << "max: #{opt.max}" if opt.max?
|
116
116
|
opts << "e.g.: #{opt.example}" if opt.example?
|
117
|
+
opts << "note: #{opt.note}" if opt.note?
|
117
118
|
opts << "see: #{opt.see}" if opt.see?
|
118
119
|
opts << format_deprecated(opt) if opt.deprecated?
|
119
120
|
opts.compact
|
data/lib/cl/opt.rb
CHANGED
data/lib/cl/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Fuchs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: regstry
|