lib/hu/collab.rb in hu-1.5.1 vs lib/hu/collab.rb in hu-1.5.2
- old
+ new
@@ -1,13 +1,6 @@
# frozen_string_literal: true
-require 'powerbar'
-require 'yaml'
-require 'hashdiff'
-require 'set'
-require 'netrc'
-require 'platform-api'
-
module Hu
class Cli < Optix::Cli
class Collab < Optix::Cli
class InvalidOperation < StandardError; end
class InvalidPlan < StandardError
@@ -40,9 +33,16 @@
STDERR.puts "\e[0;31;1mERROR: Environment variable 'HEROKU_API_KEY' must be set.\e[0m"
exit 1
end
$quiet = opts[:quiet]
$quiet = true unless STDOUT.isatty
+
+ require 'powerbar'
+ require 'yaml'
+ require 'hashdiff'
+ require 'set'
+ require 'netrc'
+ require 'platform-api'
end
def collab; end
OP_COLORS = {
'+' => "\e[0;1;32m",