We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59254d8 commit 46f73d3Copy full SHA for 46f73d3
bin/build
@@ -3,6 +3,7 @@
3
use Gt\Build\Command\RunCommand;
4
use Gt\Cli\Application;
5
use Gt\Cli\Argument\ArgumentList;
6
+use Gt\Cli\Argument\CommandArgumentList;
7
8
$autoloadLocations = [
9
implode(DIRECTORY_SEPARATOR, [
@@ -29,8 +30,7 @@ foreach($autoloadLocations as $location) {
29
30
31
$application = new Application(
32
"Client-side build system",
- new ArgumentList(...$argv),
33
+ new CommandArgumentList("run", ...$argv),
34
new RunCommand()
35
);
-$application->setDefaultCommand("run");
36
$application->run();
0 commit comments