You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -26,7 +27,7 @@ Blueprint requires a Laravel application running version 6.0 or higher.
26
27
While Blueprint may be more flexible in a future version, it currently assumes a standard project structure using the default `App` namespace.
27
28
28
29
## Basic Usage
29
-
Blueprint adds an artisan command.
30
+
Blueprint adds multiple artisan commands. The most commonly used command is the `blueprint:build` command to generate the Laravel components:
30
31
31
32
```sh
32
33
php artisan blueprint:build [draft]
@@ -313,6 +314,23 @@ controllers:
313
314
314
315
While these references will often be used within _Eloquent_ and `query` statements, they may be used in other statements as well. When necessary, Blueprint will convert these into variable references using an arrow (`->`) syntax.
315
316
317
+
## Additional Console Commands
318
+
Beyond the `blueprint:build` command, Blueprint provides additional commands:
319
+
320
+
<dl>
321
+
<dt>blueprint:erase</dt>
322
+
<dd>
323
+
324
+
Erases the components created by the last _build_ and warns about any updated components.
325
+
326
+
While this command is helpful, it's better to run the `blueprint:build` command from a clean working state and use Git commands like `reset` and `clean` to _undo_ the last _build_.</dd>
327
+
<dt>blueprint:trace</dt>
328
+
<dd>
329
+
330
+
Loads definitions for existing models into the Blueprint cache file (`.blueprint`) so you may reference them in your _draft_ file.</dd>
331
+
</dl>
332
+
333
+
316
334
## Contributing
317
335
Contributions may be made by submitting a Pull Request against the `master` branch. Any submissions should be complete with tests and adhere to the [PSR-2 code style](https://www.php-fig.org/psr/psr-2/).
0 commit comments