Skip to content

Instantly share code, notes, and snippets.

View thomasriley's full-sized avatar
🏠
Working from home

Tom Riley thomasriley

🏠
Working from home
View GitHub Profile
@flomotlik
flomotlik / myapp.rb
Created February 24, 2012 13:51
Using Thor subcommands
require 'thor'
require "sub"
class MyApp < Thor
desc "parentcommand SUBCOMMAND", "Some Parent Command"
subcommand "sub", Sub
end
MyApp.start