# `Git.Commands.Status`
[🔗](https://github.com/joshrotenberg/git_wrapper_ex/blob/main/lib/git/commands/status.ex#L1)

Implements the `Git.Command` behaviour for `git status`.

Uses `--porcelain=v1 -b` for machine-readable output with branch information.

# `t`

```elixir
@type t() :: %Git.Commands.Status{}
```

# `args`

```elixir
@spec args(t()) :: [String.t()]
```

Returns the argument list for `git status --porcelain=v1 -b`.

# `parse_output`

```elixir
@spec parse_output(String.t(), non_neg_integer()) ::
  {:ok, Git.Status.t()} | {:error, {String.t(), non_neg_integer()}}
```

Parses the output of `git status --porcelain=v1 -b`.

On success (exit code 0), returns `{:ok, %Git.Status{}}`.
On failure, returns `{:error, {stdout, exit_code}}`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
