lib/backup_repos/commander.rb in backup_repos-0.4.0 vs lib/backup_repos/commander.rb in backup_repos-0.5.0

- old
+ new

@@ -15,12 +15,12 @@ command :backup do |c| c.syntax = 'backup-repos backup' c.description = 'Backup your repositories.' - c.option '--config-path PATH', String, 'Path to configuration file' - c.option '--backup-root DIR', String, 'Backup destination directory' + c.option '--config-file PATH', String, 'Path to configuration file' + c.option '--backup-dir DIR', String, 'Backup destination directory' c.option '--debug', String, 'Show debug information' c.option '--only LIST', String, 'Only backup specified repos or orgs. Separate by comma.' c.action do |args, options| BackupRepos.config_options = options @@ -35,9 +35,10 @@ command :setup do |c| c.syntax = 'backup-repos setup' c.description = 'Setup settings.' + c.option '--config-file PATH', String, 'Path to configuration file' c.option '--debug', String, 'Setup with debug flag.' c.action do |_args, options| BackupRepos::CLI::Setup.new(options).call end