diff --git a/src/Console/ChromeCommand.php b/src/Console/ChromeCommand.php index 711687e..ba2ea28 100644 --- a/src/Console/ChromeCommand.php +++ b/src/Console/ChromeCommand.php @@ -5,7 +5,9 @@ use Derekmd\Dusk\DuskFile; use Illuminate\Console\Command; use Illuminate\Support\Str; +use Symfony\Component\Console\Attribute\AsCommand; +#[AsCommand(name: 'dusk:chrome')] class ChromeCommand extends Command { /** diff --git a/src/Console/FirefoxDriverCommand.php b/src/Console/FirefoxDriverCommand.php index d750c63..99b2b3f 100644 --- a/src/Console/FirefoxDriverCommand.php +++ b/src/Console/FirefoxDriverCommand.php @@ -7,11 +7,13 @@ use Derekmd\Dusk\OperatingSystem; use Illuminate\Console\Command; use RuntimeException; +use Symfony\Component\Console\Attribute\AsCommand; /** * @copyright Proxy downloads are based on https://github.com/staudenmeir/dusk-updater * by Jonas Staudenmeir. */ +#[AsCommand(name: 'dusk:firefox-driver')] class FirefoxDriverCommand extends Command { use DownloadsBinaries; diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index daa9844..3936ec6 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -3,7 +3,9 @@ namespace Derekmd\Dusk\Console; use Illuminate\Console\Command; +use Symfony\Component\Console\Attribute\AsCommand; +#[AsCommand(name: 'dusk:install-firefox')] class InstallCommand extends Command { /**