Skip to content

Commit 9274ac0

Browse files
committed
Fix arguments passed to eecli command through artisan proxy
1 parent 7989027 commit 9274ac0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Fixed
66

77
- Bug where ExpressionEngine CLI command proxy was not recognizing optional arguments
8+
- Bug where ExpressionEngine CLI command proxy would fail to handle interactive input
89

910
## [1.3.1] - 2024-04-24
1011

src/Commands/EECliCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct()
2424
}
2525

2626
$core = (new \Expressionengine\Coilpack\Bootstrap\LoadExpressionEngine)->cli()->bootstrap(app());
27+
$GLOBALS['argv'] = array_slice($_SERVER['argv'], 1);
2728
$this->cli = $core->runGlobal();
2829

2930
$this->setupCommand($_SERVER['argv'][2] ?? 'list');

0 commit comments

Comments
 (0)