make:command
Create a new application console command
Synopsis
make:command [--signature SIGNATURE] [--] <name> <module> <service>
Arguments and options
name— The name of the commandmodule— The name of the moduleservice— The name of the service--signature=VALUE— The Artisan command signature
Use
- Prerequisites
- Use a valid generated type name and create its required parent Service or Domain first.
- Effect
- Creates the selected generated application type at the manifest-defined path.
- Generated paths or files
app/Pulsar/Services/{Service}/Modules/{Module}/Commands/{Name}.php- Success output shape
- Reports the command outcome; file generators report their generated location.
- Expected failures
- Invalid names, missing parents, and duplicate target files fail without replacing an existing file.
- Overwrite policy
- Existing generated files are not overwritten.
Checked example
pulsar make:command ReconcileLedger Billing Internal --signature=billing:reconcile