Class: S3Antivirus::CLI

Inherits:
Command show all
Defined in:
lib/s3_antivirus/cli.rb

Instance Method Summary collapse

Methods inherited from Command

alter_command_description, command_help, dispatch, website

Instance Method Details

#completion(*params) ⇒ Object



14
15
16
# File 'lib/s3_antivirus/cli.rb', line 14

def completion(*params)
  Completer.new(CLI, *params).run
end

#completion_scriptObject



20
21
22
# File 'lib/s3_antivirus/cli.rb', line 20

def completion_script
  Completer::Script.generate
end

#scanObject



8
9
10
# File 'lib/s3_antivirus/cli.rb', line 8

def scan
  Scan.new(options).run
end

#versionObject



25
26
27
# File 'lib/s3_antivirus/cli.rb', line 25

def version
  puts VERSION
end