mini\CLI\ArgManager::getRemainingArgs() Method

public

Signature

public function getRemainingArgs(): array

Returns

array

Documentation

Get all remaining arguments from current position (unparsed)

Useful for delegating to external commands. If the remaining args start with '--', it is stripped since it was meant to stop our parser, not the external command's.

Source

src/CLI/ArgManager.php:379-389