Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 30 additions & 22 deletions docs/configuration_and_flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,26 @@ Usage in the configuration file:
}
```

### `-y, --yes`

Run non-interactively and automatically accept all prompts with "yes".
Useful for automation when you want to auto-create missing files or apply fixes without manual confirmation.
Cannot be combined with `--ci` (use one or the other).

Example usage:

```bash
dotenv-diff --compare --fix --yes
```

Usage in the configuration file:

```json
{
"yes": true
}
```

## File Scanning Flags

### `--files <patterns>`
Expand Down Expand Up @@ -600,17 +620,25 @@ Detects inconsistent naming patterns in environment variable keys (enabled by de

Use this to maintain consistent naming conventions across your environment variables and avoid confusion.

Usage in the CLI:
Example usage:

```bash
dotenv-diff --inconsistent-naming-warnings
```

Usage in the configuration file:

```json
{
"inconsistentNamingWarnings": true
}
```

### `--no-inconsistent-naming-warnings`

Disable inconsistent naming pattern warnings.

Usage in the CLI:
Example usage:

```bash
dotenv-diff --no-inconsistent-naming-warnings
Expand Down Expand Up @@ -696,23 +724,3 @@ Usage in the configuration file:
"only": ["missing", "duplicate"]
}
```

### `-y, --yes`

Run non-interactively and automatically accept all prompts with "yes".
Useful for automation when you want to auto-create missing files or apply fixes without manual confirmation.
Cannot be combined with `--ci` (use one or the other).

Example usage:

```bash
dotenv-diff --compare --fix --yes
```

Usage in the configuration file:

```json
{
"yes": true
}
```
Loading