lib/aptible/cli/agent.rb in aptible-cli-0.6.9 vs lib/aptible/cli/agent.rb in aptible-cli-0.7.0

- old
+ new

@@ -1,8 +1,9 @@ require 'aptible/auth' require 'thor' require 'json' +require 'chronic_duration' require_relative 'helpers/token' require_relative 'helpers/operation' require_relative 'helpers/environment' require_relative 'helpers/app' @@ -17,10 +18,11 @@ require_relative 'subcommands/logs' require_relative 'subcommands/ps' require_relative 'subcommands/rebuild' require_relative 'subcommands/restart' require_relative 'subcommands/ssh' +require_relative 'subcommands/backup' module Aptible module CLI TOKEN_EXPIRY_WITH_OTP = 12 * 60 * 60 # 12 hours @@ -35,9 +37,10 @@ include Subcommands::Logs include Subcommands::Ps include Subcommands::Rebuild include Subcommands::Restart include Subcommands::SSH + include Subcommands::Backup # Forward return codes on failures. def self.exit_on_failure? true end