lib/command_router.rb in dockersitter-0.1.0 vs lib/command_router.rb in dockersitter-0.2.0
- old
+ new
@@ -4,10 +4,11 @@
require 'commands/delete'
require 'commands/generate_backup_scripts'
require 'commands/backup_app.rb'
require 'commands/restore_app.rb'
require 'commands/start.rb'
+require 'commands/increment.rb'
require 'util'
require 'fileutils'
module CommandRouter
class Main < Thor
@@ -18,8 +19,8 @@
register(GenerateBackupScripts,'g','g','generates scripts')
register(Delete,'delete','delete','deletes a docker-unit.')
register BackupApp,'backup','backup','creates a backup of the given app.'
register RestoreApp, 'restore','restore','restores an app.'
register Start, 'start','start','starts one or multiple apps. If no apps are given, all apps will be started.'
-
+ register Increment, 'increment','increment','increments the version of an image.'
end
end