    # File lib/ramaze/tool/bin.rb, line 107
            def initialize(args = nil)
              args ||= ARGV
              raise "arguments must be an array!" unless args.respond_to?(:detect)
              @ourargs = args.dup
              @command = args.detect { |arg| arg.match(/^(?:--?)?(?:start|stop|restart|create|h(?:elp)?|v(?:ersion)?|console|status)/) }
              if command.nil?
                @command = ""
              else
                args.delete(@command)
              end
              ARGV.replace(args)
            end