lib/inch/utils/shell_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Inch
  module Utils
    module ShellHelper
      def git(dir, command)
        Dir.chdir(dir) do
          sh("git #{command}")
        end
      end

      def sh(command)
        `#{command}`
      end
    end
  end
end