simple-cli 0.2.19 → 0.2.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simple/cli/helpers.rb +10 -0
- data/lib/simple/cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d26ea250d929404c83f6c19ea9c0a188f53f18b67184305cdf21bb543ae68d6
|
4
|
+
data.tar.gz: 288e4524b2cef953b78be71745f9f41f3b1def3091f6780e6f137e4e7f4e855e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44e5a83ad0ee46147c0c5c36cb68a424f5b132a215c1e3bc0f59198e2fd38edad1a6a67aed8a7d47a95951dcd59aef0636688257c3d9a0cef5a38c74c45ac6ce
|
7
|
+
data.tar.gz: 4d735d8b7b4a38c95c0ee923ab6695cff2b45ef641a28dd130598a78983785bd551f785d2d92d2f757ee8a927096b7e4d219b565e14099cbd3f82391f49bd144
|
data/lib/simple/cli/helpers.rb
CHANGED
@@ -18,6 +18,16 @@ module Simple::CLI::Helpers
|
|
18
18
|
::Simple::CLI.logger
|
19
19
|
end
|
20
20
|
|
21
|
+
def confirm(msg)
|
22
|
+
STDERR.puts <<~MSG
|
23
|
+
#{msg}
|
24
|
+
|
25
|
+
Press return to continue, ^C to cancel...
|
26
|
+
MSG
|
27
|
+
|
28
|
+
STDIN.gets
|
29
|
+
end
|
30
|
+
|
21
31
|
SSH = "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
|
22
32
|
|
23
33
|
def ssh_command(host, user: nil)
|
data/lib/simple/cli/version.rb
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.2.
|
4
|
+
version: 0.2.20
|
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: 2019-07-
|
12
|
+
date: 2019-07-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|