#!/usr/bin/env ruby $: << File.expand_path('lib') <%= run sq(<<-'rb') require 'cl' class Add < Cl::Cmd register :add opt '--to GROUP', example: 'group-one' end rb -%> <%= run "Cl.new('owners').run(%w(add --help))" %> <%= out sq(<<-'str') Usage: owners add [options] Options: --to GROUP type: string, e.g.: group-one --help Get help on this command str %>