Class: Mdq::CLI
- Inherits:
-
Thor
- Object
- Thor
- Mdq::CLI
- Defined in:
- lib/mdq/cli.rb
Overview
entry point
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
10 11 12 |
# File 'lib/mdq/cli.rb', line 10 def exit_on_failure? true end |
Instance Method Details
#check ⇒ Object
21 22 23 |
# File 'lib/mdq/cli.rb', line 21 def check Mdq::Check.new end |
#list ⇒ Object
31 32 33 |
# File 'lib/mdq/cli.rb', line 31 def list Mdq::List.new() end |
#version ⇒ Object
16 17 18 |
# File 'lib/mdq/cli.rb', line 16 def version puts(Mdq::VERSION) end |