Module: Marko::CLI
Overview
Commanmd line interface
Instance Method Summary collapse
Instance Method Details
#parse(args) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/marko/cli.rb', line 11 def parse(args) command = args.shift case command&.to_sym when :punch punch(args.shift) when :assemble, :a assemble when :compile, :c compile when :help puts "Marko didn't get you", BANNER else puts "Marko didn't get you", BANNER end end |