Class: Mdq::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/mdq/cli.rb

Overview

entry point

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/mdq/cli.rb', line 10

def exit_on_failure?
  true
end

Instance Method Details

#checkObject



21
22
23
# File 'lib/mdq/cli.rb', line 21

def check
  Mdq::Check.new
end

#listObject



31
32
33
# File 'lib/mdq/cli.rb', line 31

def list
  Mdq::List.new(options)
end

#versionObject



16
17
18
# File 'lib/mdq/cli.rb', line 16

def version
  puts(Mdq::VERSION)
end