a2km 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/a2km +5 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3df1210c6b58fc739fde387f9280174885f01e58
|
4
|
+
data.tar.gz: 9413d30be46d71bf2a5155169f4295543be6dc70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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)
|