Invokes a deployed cli function once and returns output after invocation completes.
unload exec command is useful for running migration scripts, debugging purposes or simply for manually executing domain specific commands within remote application environment.
Anytime CLI function is deployed it is automatically points to framework specific binary, therefore there is no need to prefix command with cli command name.
unload exec -- <command>
- [--config] Define environment name for which manifest file to load. For example,
--config devwill load unload.dev.yaml.
- [--help] Display a list of available command flags.
Retrieve a list of Laravel application routes in development environment.
unload exec --config development -- route:list