module RoCommands class Check < Base desc usage("see_schema"), "" def schema(*args) bash "cat db/schema.rb" end desc usage("post"), "" def table(*args) table_name = args.first.camelize Out.out(Object.const_get(:"#{table_name}").all) end end end