#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../lib/yard' YARD::Registry.load object = YARD::Registry.at(ARGV[0]) options = { :format => :text, :template => :default, :serializer => YARD::Serializers::ProcessSerializer.new('less') } YARD::Generators::QuickDocGenerator.new(options).generate(object)