leeloo 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 55f9c2600e2b1027d9cbcc47825d2f8558d0187b
4
- data.tar.gz: 3081849881bef9e9bff142b1eb9f6ce7bbb1bf5b
3
+ metadata.gz: 21794ba02cc97061ed8ae02b5ea0b5302c5ed499
4
+ data.tar.gz: 0b07492f3b58fcbf79a239ebcdf2ad8cf106b842
5
5
  SHA512:
6
- metadata.gz: 83c9d6ac3887c00594dd89392e526d048c4735b35253881c0e36c99063766ae135162c5422179998f7e2bdea218754e22e4108ffa988d8d9b79820ca7fd20bf5
7
- data.tar.gz: d4e9b6bcdcc0539feaf37eaa6e6045f363843973d7162ca64608cc9e8af2c1914bd8f25e91196f1e1c1aafa0253f60042f5f2cad32d4a27b517ae2ba4d754e5c
6
+ metadata.gz: eb305a8ed35ee6a85318a8753f6cf54a0b5d5c6decc9c96d4abcc10f5f6afae9ef50a11ecb551907ed14e194a1ffb4a3c50e53b8c669e1e96db38976eddcd7d0
7
+ data.tar.gz: 2812b7046a6b18e532e9412a2fba0356d4f0738dc7d833bf3395f1f46a563d61298ee1ebb9473cb1cd22385b5b736ec51f2d2c56a6065af25192c1c4f8b2268d
@@ -29,7 +29,7 @@ module Leeloo
29
29
  end
30
30
  end
31
31
 
32
- command :"list keystore" do |c|
32
+ command :"list-keystore" do |c|
33
33
  c.syntax = 'leeloo list'
34
34
  c.description = "Display keystores list"
35
35
  c.action do |args, options|
@@ -37,9 +37,9 @@ module Leeloo
37
37
  Config::list_keystores
38
38
  end
39
39
  end
40
- alias_command :keystore, :"list keystore"
40
+ alias_command :keystore, :"list-keystore"
41
41
 
42
- command :"list secret" do |c|
42
+ command :"list-secret" do |c|
43
43
  c.syntax = 'leeloo list secret [options]'
44
44
  c.description = "Display secrets list of keystore"
45
45
  c.option '--keystore STRING', String, 'a selected keystore'
@@ -49,9 +49,9 @@ module Leeloo
49
49
  Secret::list Config.get_keystore(options.keystore)
50
50
  end
51
51
  end
52
- alias_command :list, :"list secret"
52
+ alias_command :list, :"list-secret"
53
53
 
54
- command :"add keystore" do |c|
54
+ command :"add-keystore" do |c|
55
55
  c.syntax = 'leeloo add keystore <name> <path>'
56
56
  c.description = "Add a new keystore"
57
57
 
@@ -67,7 +67,7 @@ module Leeloo
67
67
  end
68
68
  end
69
69
 
70
- command :"sync secret" do |c|
70
+ command :"sync-secret" do |c|
71
71
  c.syntax = 'leeloo recrypt secrets'
72
72
  c.description = "(re)sync all secrets from a given keystore"
73
73
  c.option '--keystore STRING', String, 'a selected keystore'
@@ -78,9 +78,9 @@ module Leeloo
78
78
  say "keystore synced successfully"
79
79
  end
80
80
  end
81
- alias_command :sync, :"sync secret"
81
+ alias_command :sync, :"sync-secret"
82
82
 
83
- command :"add secret" do |c|
83
+ command :"add-secret" do |c|
84
84
  c.syntax = 'leeloo add secret <name>'
85
85
  c.description = "Add a new secret in a keystore"
86
86
  c.option '--keystore STRING', String, 'a selected keystore'
@@ -110,11 +110,12 @@ module Leeloo
110
110
  Clipboard.copy secret if options.clipboard
111
111
  end
112
112
  end
113
- alias_command :add, :"add secret"
114
- alias_command :insert, :"add secret"
115
- alias_command :set, :"add secret"
113
+ alias_command :write, :"add-secret"
114
+ alias_command :add, :"add-secret"
115
+ alias_command :insert, :"add-secret"
116
+ alias_command :set, :"add-secret"
116
117
 
117
- command :"read secret" do |c|
118
+ command :"read-secret" do |c|
118
119
  c.syntax = 'leeloo read secret <name>'
119
120
  c.description = "Display a secret from a keystore"
120
121
  c.option '--keystore STRING', String, 'a selected keystore'
@@ -135,11 +136,11 @@ module Leeloo
135
136
  abort "unable to find #{name}"
136
137
  end
137
138
  end
138
- alias_command :read, :"read secret"
139
- alias_command :get, :"read secret"
139
+ alias_command :read, :"read-secret"
140
+ alias_command :get, :"read-secret"
140
141
  end
141
142
 
142
- command :"remove secret" do |c|
143
+ command :"remove-secret" do |c|
143
144
  c.syntax = 'leeloo remove secret <name>'
144
145
  c.description = "Remove a secret from a keystore"
145
146
  c.option '--keystore STRING', String, 'a selected keystore'
@@ -158,8 +159,9 @@ module Leeloo
158
159
  abort "unable to find #{name}"
159
160
  end
160
161
  end
161
- alias_command :delete, :"remove secret"
162
- alias_command :erase, :"remove secret"
162
+ alias_command :remove, :"remove-secret"
163
+ alias_command :delete, :"remove-secret"
164
+ alias_command :erase, :"remove-secret"
163
165
  end
164
166
  end
165
167
  end
@@ -1,4 +1,4 @@
1
1
  module Leeloo
2
- VERSION = '0.0.9'.freeze
2
+ VERSION = '0.0.10'.freeze
3
3
  DESCRIPTION = "The easiest way to share securely your secrets".freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leeloo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvek
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-24 00:00:00.000000000 Z
11
+ date: 2017-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander