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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49203f0b7b35398bebb943f25dd67d3f9f3520d8
4
- data.tar.gz: 746fdd877b20fb5755531e4a9d9c89cfb24141b7
3
+ metadata.gz: 65a83d6493fffaef67b6402f60ac3969bb7b9003
4
+ data.tar.gz: f3ebdfea751e8537e3ecf15a631f92a269121817
5
5
  SHA512:
6
- metadata.gz: 48a960e23f990f52d1978bc6da7709808d87f6addf00e5e52d0eb994ca5d6ac3ccb397f947edf7bc46c8624041a53596bb84a1715f295f87b02ca8c264fd26fa
7
- data.tar.gz: d70949056c77e1b01f0177b376c8b530c2102f7d34f3b82c593e1b9c0422ee8160b63c99c1d2a063b5d4b7d90eb777ae3517e44fbe3414b12857de5c60f42a88
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
- dokku_installer_cli (0.0.1)
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
- dokku_installer_cli!
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
- puts "Running #{command}..."
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
- # backup:export [file] Export dokku configuration files
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
- # supplemental methods here
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")
@@ -1,3 +1,3 @@
1
1
  module DokkuInstallerCli
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dokku-installer-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Pattison