bin/hanami in hanami-1.3.5 vs bin/hanami in hanami-2.0.0.alpha1

- old
+ new

@@ -1,6 +1,8 @@ #!/usr/bin/env ruby -require 'bundler' -require 'hanami/cli/commands' +# frozen_string_literal: true -::Bundler.require(:plugins) if File.exist?(ENV["BUNDLE_GEMFILE"] || "Gemfile") -Dry::CLI.new(Hanami::CLI::Commands).call +require "bundler" +require "hanami/cli/commands" + +Bundler.require(*Hanami.bundler_groups) if File.exist?(ENV["BUNDLE_GEMFILE"] || "Gemfile") +Hanami::CLI.new(Hanami::CLI::Commands).call