lib/rubygb/cli.rb in rubygb-0.2.1 vs lib/rubygb/cli.rb in rubygb-0.2.2
- old
+ new
@@ -2,10 +2,11 @@
require 'fileutils'
module Rubygb
class CLI < Thor
desc 'build FILENAME', 'attempt to assemble, link + fix FILENAME and create a gb rom from it'
- option :no_fix, :type => :boolean
+ option :no_fix, type: :boolean, desc: 'skip header fixing'
+ option :output, desc: 'dir to put all build files'
def build filename
Rubygb.build filename, options
end
desc 'init PROJECT_NAME', 'create a new gameboy project at the location'