Skip to content

Commit

Permalink
Add options to create:job command
Browse files Browse the repository at this point in the history
  • Loading branch information
damsfx authored Sep 27, 2024
1 parent 35f5906 commit c9e12be
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions console/scaffolding.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,17 @@ The `create:job` command generates a job. The first argument specifies the plugi
php artisan create:job <plugin code> <job name>
```

By default the created job will be queueable and managed by queue worker.

The following options are supported:

short | long | description
----- | ---- | -----------
`-b` | `--batchable` | Generates a batchable queue job.
`-s` | `--sync` | Generates a non-queueable job.
`-f` | `--force` | Overwrites existing files with generated files
n/a | `--uninspiring` | Disables inspirational quotes

## Create a console command

```bash
Expand Down

0 comments on commit c9e12be

Please sign in to comment.