File tree 7 files changed +14
-0
lines changed
7 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 8
8
use Illuminate \Console \Command ;
9
9
use Illuminate \Support \Str ;
10
10
use Laravel \Dusk \OperatingSystem ;
11
+ use Symfony \Component \Console \Attribute \AsCommand ;
11
12
use Symfony \Component \Process \Process ;
12
13
use ZipArchive ;
13
14
14
15
/**
15
16
* @copyright Originally created by Jonas Staudenmeir: https://github.com/staudenmeir/dusk-updater
16
17
*/
18
+ #[AsCommand(name: 'dusk:chrome-driver ' )]
17
19
class ChromeDriverCommand extends Command
18
20
{
19
21
/**
Original file line number Diff line number Diff line change 4
4
5
5
use Illuminate \Console \GeneratorCommand ;
6
6
use Illuminate \Support \Str ;
7
+ use Symfony \Component \Console \Attribute \AsCommand ;
7
8
9
+ #[AsCommand(name: 'dusk:component ' )]
8
10
class ComponentCommand extends GeneratorCommand
9
11
{
10
12
/**
Original file line number Diff line number Diff line change 7
7
use Illuminate \Support \Str ;
8
8
use NunoMaduro \Collision \Adapters \Phpunit \Subscribers \EnsurePrinterIsRegisteredSubscriber ;
9
9
use PHPUnit \Runner \Version ;
10
+ use Symfony \Component \Console \Attribute \AsCommand ;
10
11
use Symfony \Component \Finder \Finder ;
11
12
use Symfony \Component \Process \Exception \ProcessSignaledException ;
12
13
use Symfony \Component \Process \Exception \RuntimeException ;
13
14
use Symfony \Component \Process \Process ;
14
15
16
+ #[AsCommand(name: 'dusk ' )]
15
17
class DuskCommand extends Command
16
18
{
17
19
use Concerns \InteractsWithTestingFrameworks;
Original file line number Diff line number Diff line change 3
3
namespace Laravel \Dusk \Console ;
4
4
5
5
use Illuminate \Console \Command ;
6
+ use Symfony \Component \Console \Attribute \AsCommand ;
6
7
8
+ #[AsCommand(name: 'dusk:install ' )]
7
9
class InstallCommand extends Command
8
10
{
9
11
use Concerns \InteractsWithTestingFrameworks;
Original file line number Diff line number Diff line change 4
4
5
5
use Illuminate \Console \GeneratorCommand ;
6
6
use Illuminate \Support \Str ;
7
+ use Symfony \Component \Console \Attribute \AsCommand ;
7
8
9
+ #[AsCommand(name: 'dusk:make ' )]
8
10
class MakeCommand extends GeneratorCommand
9
11
{
10
12
use Concerns \InteractsWithTestingFrameworks;
Original file line number Diff line number Diff line change 4
4
5
5
use Illuminate \Console \GeneratorCommand ;
6
6
use Illuminate \Support \Str ;
7
+ use Symfony \Component \Console \Attribute \AsCommand ;
7
8
9
+ #[AsCommand(name: 'dusk:page ' )]
8
10
class PageCommand extends GeneratorCommand
9
11
{
10
12
/**
Original file line number Diff line number Diff line change 3
3
namespace Laravel \Dusk \Console ;
4
4
5
5
use Illuminate \Console \Command ;
6
+ use Symfony \Component \Console \Attribute \AsCommand ;
6
7
use Symfony \Component \Console \Output \OutputInterface ;
7
8
use Symfony \Component \Finder \Finder ;
8
9
10
+ #[AsCommand(name: 'dusk:purge ' )]
9
11
class PurgeCommand extends Command
10
12
{
11
13
/**
You can’t perform that action at this time.
0 commit comments