lib/hu/cli.rb in hu-1.3.22 vs lib/hu/cli.rb in hu-1.3.23
- old
+ new
@@ -11,18 +11,13 @@
require 'hu/deploy'
module Hu
class Cli < Optix::Cli
Optix.command do
- text "Hu v#{Hu::VERSION} - Heroku Utility"
- opt :quiet, 'Quiet mode (no progress output)', default: false
+ text "Hu v#{Hu::VERSION} - Heroku Utility - https://github.com/busyloop/hu"
opt :version, 'Print version and exit', short: :none
trigger :version do
puts "Hu v#{Hu::VERSION}"
- end
- filter do |_cmd, opts, _argv|
- $quiet = opts[:quiet]
- $quiet = true unless STDOUT.isatty
end
end
end
end