require "commands/init" require 'thor' require 'commands/create' require 'commands/delete' require 'commands/generate_backup_scripts' require 'commands/backup_app.rb' require 'commands/restore_app.rb' require 'commands/start.rb' require 'util' require 'fileutils' module CommandRouter class Main < Thor include DockerMgr::Util register(Init, 'init', 'init', 'initializes a docker-project.') register(Create,'create','create','creates a new docker-unit.') 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.' end end