mix spectre.gen.agent (Spectre v0.3.1)

Copy Markdown View Source

Generates a minimal Spectre Agent and its contract test.

mix spectre.gen.agent MyApp.SupportAgent

Files are never overwritten unless --force is passed. --dry-run performs validation and prints the complete plan without changing the filesystem.

Options

  • --dry-run - print the files that would be generated;
  • --force - replace existing regular files.