Search documentation of Metastatic

# mix metastatic.purity_check (Metastatic v0.2.0)

View Source

Analyzes code purity for a given file.

## Usage

    mix metastatic.purity_check FILE [options]

## Options

- `--format` - Output format: text (default), json, or detailed
- `--language` - Source language: python, elixir, or erlang (auto-detected if not specified)

## Examples

    # Basic purity check
    mix metastatic.purity_check my_file.py

    # JSON output
    mix metastatic.purity_check my_file.py --format json

    # Detailed report
    mix metastatic.purity_check my_file.ex --format detailed

## Exit Codes

- 0 - Pure (no side effects)
- 1 - Impure (has side effects)
- 2 - Error during analysis