#!/usr/bin/env ruby $: << File.expand_path('lib') require 'cl' class Add < Cl::Cmd arg :owner def run p owner end end Cl.new('owners').run(%w(add one)) # => "one"