simple-cli 0.3.13 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/simple/cli/runner.rb +2 -4
- data/lib/simple/cli.rb +1 -0
- data/simple-cli.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcf0aaedcec401d2a1d7b28d2463aa6b331626c3d75b22b9d8e2c9251c489370
|
4
|
+
data.tar.gz: 7c45a6520ea7d7f8812e4f66a6acd2c57c107866527b578c279a06fb58ce0ed7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65eb1d3681b02768d7f0b24805dd8f7c730cdb9cafefb9154b4990607b6d0760d671995fbedb27f36c411b7202a373036e6b09df55bbe6ff293757c1a98a1edf
|
7
|
+
data.tar.gz: d67979bd430b4b2d7854e789029ef14dcc42138195d9b1520904a1ddf92bf2bfc1c21feec2bbbca3517ff6122f1a7cab98ea871a4e36d3d61d93ec3478ebf849
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
data/lib/simple/cli/runner.rb
CHANGED
@@ -10,10 +10,8 @@ module Simple::CLI
|
|
10
10
|
_ = verbose
|
11
11
|
|
12
12
|
action_name = H.command_to_action(command)
|
13
|
-
|
14
|
-
|
15
|
-
::Simple::Service.invoke(service, action_name, args: args, flags: flags)
|
16
|
-
end
|
13
|
+
flags = extract_flags!(args)
|
14
|
+
::Simple::Service.invoke(service, action_name, args: args, flags: flags)
|
17
15
|
end
|
18
16
|
|
19
17
|
private
|
data/lib/simple/cli.rb
CHANGED
@@ -87,6 +87,7 @@ module Simple::CLI
|
|
87
87
|
# Run service.
|
88
88
|
Runner.run! service, options.command, *args, verbose: options.verbose?
|
89
89
|
rescue ::Simple::Service::ArgumentError
|
90
|
+
STDERR.puts "#{$!}\n\n"
|
90
91
|
Helper.help_on_command! service, options.command, verbose: false
|
91
92
|
rescue StandardError => e
|
92
93
|
on_exception(e)
|
data/simple-cli.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- radiospiel
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-06-
|
12
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: simple-service
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.1
|
20
|
+
version: 0.2.1
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.1
|
27
|
+
version: 0.2.1
|
28
28
|
description: Simple CLI builder
|
29
29
|
email: eno@radiospiel.org
|
30
30
|
executables: []
|