mix accrue.gen.handler (accrue v0.3.0)

Copy Markdown View Source

Generates a host-owned Accrue webhook handler scaffold. Generated files are stamped with # accrue:generated by Accrue.Install.Fingerprints.

Flags

  • --module MyApp.BillingHandler
  • --path lib/my_app/billing_handler.ex
  • --dry-run
  • --yes
  • --non-interactive
  • --force
  • --manual

For Phoenix-generator familiarity, a single positional module argument is also accepted:

mix accrue.gen.handler MyApp.BillingHandler