Skip to content

APX documentation

APX is a Salesforce CLI plugin. It generates Apex Enterprise Patterns code (fflib and AT4DX) and finds Apex classes that nothing references.

Guides

  • Getting started: install APX and generate your first Domain, Selector, Service, or Unit of Work.
  • Interactive generation: use guided prompts, review the values, and confirm before anything is written.
  • Command details: flavors, naming, binding metadata, and dry runs.
  • CLI reference: every command with its usage, flags, and examples.
  • Dead-code analysis: review unreferenced classes and build a safe destructive manifest.
  • Architecture: contributor guidance on the plugin/core boundary and compatibility checks.

For every flag, see the CLI reference or run a command with --help.