Method: Bookwatch::CLI#method_missing
- Defined in:
- lib/bookwatch/cli.rb
#method_missing(command, *args) ⇒ Object
desc ‘imprint <local|remote> [options]’, ‘DISABLED: Generate a PDF for a given book’
option :verbose, type: :boolean
option 'dita-flags', desc: '--dita-flags=\"<dita-option>=<value>\"'
def imprint(source)
code = legacy_commands.imprint(source, [:verbose], ['dita-flags'])
raise Thor::Error, '' if code != 0
end
79 80 81 82 83 |
# File 'lib/bookwatch/cli.rb', line 79 def method_missing(command, *args) puts "Unknown command '#{command}'" puts "" help end |