a2km 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/a2km +5 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76ed2ec1339c1487ce7d6a76409351704bcb7189
4
- data.tar.gz: 27373e1bc5980983ae56f0ef4bbe81fae6d7f6cc
3
+ metadata.gz: 3df1210c6b58fc739fde387f9280174885f01e58
4
+ data.tar.gz: 9413d30be46d71bf2a5155169f4295543be6dc70
5
5
  SHA512:
6
- metadata.gz: 135ca36a33606c8222ab3f835a6801dbe0c16e82c43e5b29c8f59af338a9d9cf5215de70ba9bc95fbbc64339f0d10ec26ce3e0b49e0a857eee9b3c94640f6ac9
7
- data.tar.gz: 7dc5323e9b547e13e1d0f8fc0afdab70cf0421dc1fd898bc4158c91be6349588970884826c1e3858708d18ca99d3e7fb0bab923924f0ba67d84a02248ce34de2
6
+ metadata.gz: 2feac328e487b78a2dcb4b06001e5371ba71f4f412ef7c025d6a7f4be880002e65fb53f0b2d2e06815749f0361fc8eea057e3edf1b7628ef0e81a77da1cbb88c
7
+ data.tar.gz: fc39bc254f3056a4afc6ffa6e84114deaba7c96e06640cafd6af9d126ae48aebc07a3bd878dced14c22825cecc67204327a30d7d4517c7d4e8deb5ddbd3f9566
data/bin/a2km CHANGED
@@ -65,12 +65,13 @@ class AssitantToTheKernelManager
65
65
 
66
66
  def run
67
67
  program :name, 'Assistant to the KernelManager'
68
- program :version, '0.0.0'
68
+ program :version, '0.0.1'
69
69
  program :description, 'Work with Jupyter kernelspecs'
70
70
 
71
71
  command :rename do |c|
72
72
  c.syntax = 'a2km rename <from> <to>'
73
- c.description = 'renames kernelspec FROM to TO'
73
+ c.summary = 'Rename a kernelspec'
74
+ c.description = 'Rename kernelspec FROM to TO'
74
75
  c.action do |args, options|
75
76
  from = args.shift
76
77
  to = args.shift
@@ -143,6 +144,7 @@ class AssitantToTheKernelManager
143
144
 
144
145
  command :"add-env" do |c|
145
146
  c.syntax = 'a2km add-env <spec> <key=value> [key=value] ...'
147
+ c.summary = 'Add environment variables to a kernelspec'
146
148
  c.description = 'Add environment variables to a kernelspec.' \
147
149
  ' If no value is given, the value from the current env is used.'
148
150
  c.action do |args, options|
@@ -169,7 +171,7 @@ class AssitantToTheKernelManager
169
171
 
170
172
  command :"rm-env" do |c|
171
173
  c.syntax = 'a2km rm-env <spec> <key> [key] ...'
172
- c.description = 'Remove environment variables from a kernelspec.'
174
+ c.description = 'Remove environment variables from a kernelspec'
173
175
  c.action do |args, options|
174
176
  name = args.shift
175
177
  spec = get_kernel_json(name)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: a2km
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Min RK