dokku-installer-cli 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -8
- data/bin/dokku +6 -38
- data/lib/dokku_installer_cli/version.rb +1 -1
- 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: 65a83d6493fffaef67b6402f60ac3969bb7b9003
|
4
|
+
data.tar.gz: f3ebdfea751e8537e3ecf15a631f92a269121817
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 879545f43c552a1f0efe571822a0468aa6b72b9d356982154ee08e66a0e1ba8d5769690268a37cf05edfbcd5736878815a8c6d9459275275f3c59879a2dadf12
|
7
|
+
data.tar.gz: 0eda2f802ee10297c3f507d186ec8d834f99b394317eb5ff25457aff0ba38a26f2dae3d64fca7348154d86e68c3da5cdf1168318abc79452368d192eb911e382
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
|
4
|
+
dokku-installer-cli (0.0.1)
|
5
5
|
methadone (~> 1.8.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -24,14 +24,11 @@ GEM
|
|
24
24
|
ffi (1.9.6)
|
25
25
|
gherkin (2.12.2)
|
26
26
|
multi_json (~> 1.3)
|
27
|
-
json (1.8.1)
|
28
27
|
methadone (1.8.0)
|
29
28
|
bundler
|
30
29
|
multi_json (1.10.1)
|
31
30
|
multi_test (0.1.1)
|
32
31
|
rake (10.3.2)
|
33
|
-
rdoc (4.1.2)
|
34
|
-
json (~> 1.4)
|
35
32
|
rspec-expectations (3.1.2)
|
36
33
|
diff-lcs (>= 1.2.0, < 2.0)
|
37
34
|
rspec-support (~> 3.1.0)
|
@@ -41,8 +38,7 @@ PLATFORMS
|
|
41
38
|
ruby
|
42
39
|
|
43
40
|
DEPENDENCIES
|
44
|
-
aruba
|
41
|
+
aruba (~> 0.6)
|
45
42
|
bundler (~> 1.7)
|
46
|
-
|
47
|
-
rake
|
48
|
-
rdoc
|
43
|
+
dokku-installer-cli!
|
44
|
+
rake (~> 10.0)
|
data/bin/dokku
CHANGED
@@ -39,51 +39,19 @@ class App
|
|
39
39
|
when "logs"
|
40
40
|
dokku_command += "logs #{app_name} #{args.join(' ')}"
|
41
41
|
when "run"
|
42
|
-
command = args.join(
|
42
|
+
command = args.join(" ")
|
43
43
|
dokku_command += "run #{app_name} #{command}"
|
44
|
-
|
44
|
+
else
|
45
|
+
exit
|
45
46
|
end
|
46
47
|
|
48
|
+
puts "Running #{dokku_command}..."
|
47
49
|
exec(dokku_command)
|
48
50
|
end
|
49
51
|
|
50
|
-
|
51
|
-
# backup:import [file] Import dokku configuration files
|
52
|
-
# config <app> Display the config vars for an app
|
53
|
-
# config:get <app> KEY Display a config value for an app
|
54
|
-
# config:set <app> KEY1=VALUE1 [KEY2=VALUE2 ...] Set one or more config vars
|
55
|
-
# config:unset <app> KEY1 [KEY2 ...] Unset one or more config vars
|
56
|
-
# create <app> Create an app
|
57
|
-
# delete <app> Delete an application
|
58
|
-
# domains <app> Display the domains for an app
|
59
|
-
# domains:set <app> DOMAIN1 [DOMAIN2 ...] Set one or more domains
|
60
|
-
# help Print the list of commands
|
61
|
-
# logs <app> [-t] Show the last logs for an application (-t follows)
|
62
|
-
# plugins-install Install active plugins
|
63
|
-
# plugins Print active plugins
|
64
|
-
# postgres:console <db> Open a PostgreSQL console
|
65
|
-
# postgres:create <db> Create a PostgreSQL container
|
66
|
-
# postgres:delete <db> Delete specified PostgreSQL container
|
67
|
-
# postgres:dump <db> > dump_file.sql Dump database data
|
68
|
-
# postgres:info <db> Display database informations
|
69
|
-
# postgres:link <app> <db> Link an app to a PostgreSQL database
|
70
|
-
# postgres:list Display list of PostgreSQL containers
|
71
|
-
# postgres:logs <db> Display last logs from PostgreSQL container
|
72
|
-
# postgres:restore <db> < dump_file.sql Restore database data from a previous dump
|
73
|
-
# redis:create <rd> Create a Redis container
|
74
|
-
# redis:delete <rd> Delete specified Redis container
|
75
|
-
# redis:info <rd> Display container information
|
76
|
-
# redis:link <app> <rd> Link an app to a Redis container
|
77
|
-
# redis:logs <rd> Display last logs from Redis container
|
78
|
-
# run <app> <cmd> Run a command in the environment of an application
|
79
|
-
# url <app> Show the URL for an application
|
80
|
-
# version Print dokku's version
|
52
|
+
description "Command line tool for Dokku Installer"
|
81
53
|
|
82
|
-
|
83
|
-
|
84
|
-
# Declare command-line interface here
|
85
|
-
|
86
|
-
# description "one line description of your app"
|
54
|
+
arg :command
|
87
55
|
#
|
88
56
|
# Accept flags via:
|
89
57
|
# on("--flag VAL","Some flag")
|