Class: LMK::CLI
- Inherits:
-
Thor
- Object
- Thor
- LMK::CLI
- Defined in:
- lib/lmk/cli.rb
Instance Method Summary collapse
Instance Method Details
#config ⇒ Object
12 13 14 |
# File 'lib/lmk/cli.rb', line 12 def config Kernel.puts Config.from_file.debug end |
#debug(*command) ⇒ Object
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/lmk/cli.rb', line 17 def debug(*command) command = command.join ' ' cmd = ShellCommand.new(command).tap do |c| c.html_url = "http://gist.example.com" end puts "concise" puts cmd.concise_output puts "\n\nfull" puts cmd.full_output end |