Class: Imap::Backup::CLI::Single
- Inherits:
-
Thor
- Object
- Thor
- Imap::Backup::CLI::Single
- Includes:
- Helpers
- Defined in:
- lib/imap/backup/cli/single.rb,
lib/imap/backup/cli/single/backup.rb
Overview
Processes parameters to run a backup via command-line parameters (without using a configuration file)
Defined Under Namespace
Classes: Backup
Constant Summary
Constants included from Helpers
Helpers::NAMESPACE_CONFIGURATION_DESCRIPTION
Instance Method Summary collapse
-
#backup ⇒ void
Launches the backup procedure.
Methods included from Helpers
#account, included, #load_config, #options, #requested_accounts
Instance Method Details
#backup ⇒ void
This method returns an undefined value.
Launches the backup procedure
180 181 182 183 184 |
# File 'lib/imap/backup/cli/single.rb', line 180 def backup = Imap::Backup::Logger.setup_logging() direct = Backup.new() direct.run end |