module Metacrunch
  class Cli
    class Main < Thor
      desc "console", "Start a console. It uses Pry if installed, IRB otherwise."
      def console
        begin
          require "pry"
          Pry.start
        rescue LoadError
          require "irb"
          IRB.start
        end
      end
    end
  end
end

module Metacrunch
  class Cli
    class Main < Thor
      # Define metacrunch root commands here
    end
  end
end

--- 
+++ 
@@ -1,7 +1,16 @@
 module Metacrunch
   class Cli
     class Main < Thor
-      # Define metacrunch root commands here
+      desc "console", "Start a console. It uses Pry if installed, IRB otherwise."
+      def console
+        begin
+          require "pry"
+          Pry.start
+        rescue LoadError
+          require "irb"
+          IRB.start
+        end
+      end
     end
   end
 end
Add a console command for playing around with the metacrunch API.
