dokku-installer-cli 0.1.4 → 0.1.5

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: 5c104c86300fc07513b25c7c5588d60001ad523b
4
- data.tar.gz: 791d4a07292db5e75cd8476160f773fcce6ba553
3
+ metadata.gz: 3d315bf722e6617d056b762fb80d2232c1200a5d
4
+ data.tar.gz: 6ecf5fb31668bf999080b54ebdd43eaa37bc22a0
5
5
  SHA512:
6
- metadata.gz: b2c32c98ef467298ea3cdc4c21bce5979b6efbc0a35be902050f99ebc8aa8a20a6bedc87a417255556bd464835d5a41620842df4ad2e2f4ee1735124ae4e1c4a
7
- data.tar.gz: 0373575a4e801a9b33c3b1d76fa7a03e42de7249caeaf0230d036b7464a5f3cc076fc8875ac9660203f0ca93f8eb34b7fd15465426788ca51a61c340b7e758d0
6
+ metadata.gz: 0771d23e1a495871c6ac02fb4ba525ca0716d60ff3d2a85fddcd0de32faec592a13326a4f2f3f28dca85e429addd2174cd360234c46aef3d92f27fe215652d30
7
+ data.tar.gz: ac2f19cd533b119a1d81add739c930bc2f16a741d47f002e6caf578e35c0ebca877bbca13c449101021cac85f762bbe8bdddf6c33aec8eaa3a1453f2ef79f203
data/README.md CHANGED
@@ -25,12 +25,15 @@ Commands:
25
25
  dokku help [COMMAND] # Describe available commands or one specific command
26
26
  dokku logs [-t] # Show the last logs for the application (-t follows)
27
27
  dokku open # Open the application in your default browser
28
- dokku postgres:backups # List available PostgreSQL backups
28
+ dokku postgres:backups # List available PostgreSQL backups as a numbered list
29
29
  dokku postgres:backups:create # Create a new PostgreSQL backup
30
30
  dokku postgres:backups:disable # Disable daily PostgreSQL backups
31
31
  dokku postgres:backups:download <number> # Download the numbered PostgreSQL backup
32
32
  dokku postgres:backups:enable # Enable daily PostgreSQL backups
33
- dokku postgres:backups:restore:local <number> # Restore the numbered PostgreSQL backup locally
33
+ dokku postgres:backups:restore <number> # Restore a numbered PostgreSQL backup
34
+ dokku postgres:backups:restore:local <number> # Restore a numbered PostgreSQL backup locally
35
+ dokku postgres:export <file.sql> # Export Postgres data to local file
36
+ dokku postgres:import <file.sql> # Restore database data from a local file
34
37
  dokku restart # Restart the application
35
38
  dokku run <cmd> # Run a command in the environment of the application
36
39
  dokku ssh # Start an SSH session as root user
@@ -21,7 +21,7 @@ module DokkuInstaller
21
21
  puts "Running #{command}..."
22
22
  result = `#{command}`
23
23
 
24
- if result.include?("database dumped")
24
+ if result.include?("Backup created")
25
25
  puts "Database backup created successfully."
26
26
  else
27
27
  puts "Database backup could not be created."
@@ -3,7 +3,7 @@ require "net/http"
3
3
  require "thor"
4
4
 
5
5
  module DokkuInstaller
6
- VERSION = "0.1.4"
6
+ VERSION = "0.1.5"
7
7
 
8
8
  class Cli < Thor
9
9
 
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.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Pattison