Skip to content

Instantly share code, notes, and snippets.

@wycats
Forked from jaredatron/canhaz.rb
Created February 8, 2012 03:47
Show Gist options
  • Save wycats/1765183 to your computer and use it in GitHub Desktop.
Save wycats/1765183 to your computer and use it in GitHub Desktop.
canhaz
require 'thor'
require 'pathname'
module Canhaz
class CLI
class Recipes < Thor
desc "apply", "apply"
def apply
puts "applying"
end
end
class Main < Thor
desc "deploy","deploy"
def deploy
puts "deploying"
end
desc "recipes", "recipes"
subcommand :recipes, Recipes
end
end
end
Canhaz::CLI::Main.start(ARGV)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment