mist_cli 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/mist +12 -0
- 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: 8529ff441bf6ec3ee32f1834e678601992961394
|
|
4
|
+
data.tar.gz: f1ff4c3b25a165583ca52d9d663d015ef3d37548
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc511ea061289e7f67e7c43c4ab59fc6abbcfc4429161149f8d23f44cfab05cd5613a163093cc228b54290437baf2a12227c5a92ad8f1f964cd7e1b42e1509c3
|
|
7
|
+
data.tar.gz: 15bb99daf08f938faf1339470055a74a5e606130f42629bc2a25da96669e04aca0b74a615530b74d341e9592c7bf8d724f669553009853fb8582248bdb4e4bce
|
data/bin/mist
CHANGED
|
@@ -7,6 +7,18 @@ require 'fog'
|
|
|
7
7
|
|
|
8
8
|
class Mist < Thor
|
|
9
9
|
|
|
10
|
+
desc "signup SERVICE", "Opens link"
|
|
11
|
+
def signup(service)
|
|
12
|
+
|
|
13
|
+
case service
|
|
14
|
+
when 'aws','AWS','Amazon Web Services'
|
|
15
|
+
exec('open http://aws.amazon.com/account/')
|
|
16
|
+
else
|
|
17
|
+
puts "MIST: The service schema #{service} was not recognized."
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
end
|
|
21
|
+
|
|
10
22
|
desc "config SERVICE", "Creates configuration file for new cloud compute provider in ~/.mist/TITLE"
|
|
11
23
|
def config(service)
|
|
12
24
|
|