Method: Toolshed::Commands::Mysql::Backup.cli_options

Defined in:
lib/toolshed/commands/mysql/backup.rb

.cli_optionsObject

rubocop:disable MethodLength



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/toolshed/commands/mysql/backup.rb', line 9

def self.cli_options # rubocop:disable MethodLength
  {
    banner: 'Usage: mysql backup [options]',
    options: {
      host: {
        short_on: '-l'
      },
      path: {
        short_on: '-p'
      },
      username: {
        short_on: '-u'
      },
      password: {
        short_on: '-d'
      },
      name: {
        short_on: '-n'
      },
      wait_time: {
        short_on: '-w'
      }
    }
  }
end