Skip to content

Commit 002bb53

Browse files
committed
feat: add command argv
1 parent ad027d0 commit 002bb53

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Sprout/Event.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,12 @@ public function getCommandData(): array
112112
{
113113
return $this->data['commandData'] ?? [];
114114
}
115+
116+
/**
117+
* Get command argv
118+
*/
119+
public function getCommandArgv(): array
120+
{
121+
return $this->data['argv'] ?? [];
122+
}
115123
}

0 commit comments

Comments
 (0)