Suppose a user calls vendor:publish
without specifying any tags:
artisan vendor:publish --provider="Vendor\Package\PackageServiceProvider"
This will execute all of the providers publishes regardless of tags.
But some of my files are mutually exclusive versions of each other, only one should be published.
Can I somehow hide publishes from vendor:publish
? Is it posssible that some files are only published if the tag is explicitly asked for instead of publishing everything if no tag is specified?
Is interactive publishing somehow possible? Something like this:
artisan vendor:publish --provider="Vendor\Package\PackageServiceProvider"
Do you need migrations? [Y|n]
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire