tmuxinator/tmuxinator

View on GitHub
lib/tmuxinator/util.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Tmuxinator
  module Util
    include Thor::Actions

    def exit!(msg)
      puts msg
      Kernel.exit(1)
    end

    def yes_no(condition)
      condition ? say("Yes", :green) : say("No", :red)
    end
  end
end