Packages

Command line tools to aid developers on daily work.

Current section

Files

Jump to
rit_cli lib rit_cli git.ex
Raw

lib/rit_cli/git.ex

defmodule RitCLI.Git do
@moduledoc false
@spec run(list(String.t())) :: {:ok, String.t(), integer}
def run(argv) do
{result, code} = System.cmd("git", argv, stderr_to_stdout: true)
{:ok, result, code}
end
end