# summary

Initialize a new archguard.yml configuration file.

# description

Generates a well-commented archguard.yml template in the specified project directory to help you get started with Salesforce architecture enforcement. The command will interactively prompt you to auto-scan your project for existing packages, or (optionally) hand off to an AI coding agent CLI (Claude Code, Codex, or Gemini) that will analyze your project and write the file for you.

# examples

- Initialize configuration in the current directory:

  <%= config.bin %> <%= command.id %>

- Initialize configuration in a specific directory:

  <%= config.bin %> <%= command.id %> --project-dir ./my-sfdx-project

- Let an AI agent generate archguard.yml by inspecting your project:

  <%= config.bin %> <%= command.id %> --ai

- Non-interactive AI mode, explicitly choosing Claude Code:

  <%= config.bin %> <%= command.id %> --ai --ai-agent=claude

# flags.project-dir.summary

Project root directory where archguard.yml will be created.
