# `Docker.Commands.Compose.Common`
[🔗](https://github.com/joshrotenberg/docker_wrapper_ex/blob/v0.1.2/lib/docker/commands/compose/common.ex#L1)

Shared fields and arg helpers for compose subcommands.

All compose commands support project-level options like `-f` (file),
`-p` (project name), and `--env-file`. This module provides macros
and functions to avoid duplicating that logic.

# `compose_fields`
*macro* 

Common compose fields to include in defstruct.

# `compose_prefix`

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

Builds the compose prefix args from common fields.

Returns `["compose", "-f", file, "-p", project, ...]` with only
non-nil values included.

---

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