Class: Lumise::CLI
- Inherits:
-
Thor
- Object
- Thor
- Lumise::CLI
- Defined in:
- lib/lumise/cli.rb
Constant Summary collapse
- Error =
Class.new(StandardError)
Instance Method Summary collapse
Instance Method Details
#rubocop ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/lumise/cli.rb', line 17 def rubocop(*) if [:help] invoke :help, ['rubocop'] else execute_rubocop end end |
#version ⇒ Object
9 10 11 |
# File 'lib/lumise/cli.rb', line 9 def version $stdout.puts "v#{Lumise::VERSION}" end |