lib/adhearsion/generators/app/templates/script/ahn in adhearsion-1.2.6 vs lib/adhearsion/generators/app/templates/script/ahn in adhearsion-2.0.0.alpha1
- old
+ new
@@ -1,8 +1,8 @@
# This command will automatically be run when you run "ahn" with the Adhearsion gem installed from the root of your application.
require File.expand_path('../../config/environment', __FILE__)
require 'adhearsion'
-require 'adhearsion/commands'
+require 'adhearsion/cli_commands'
-Adhearsion::CLI::AhnCommand.execute!
+Adhearsion::CLI::AhnCommand.start