Core\Command
Runs the commands a command-line program declares with #[Command] methods. It reads the command and its options from the program's arguments, and it prints a help page for each command.
Members
3 members.
| Member | Signature |
|---|---|
help | help(?string $name): Core\Cli\Text |
run | run(): uint |
completions | completions(Core\Command::Shell $shell): string |
Enums
ShellWhich shellCore\Command::completionswrites a completion script for. There are four cases and no case for other shells. Each script uses the syntax of its own shell, so each case needs its own generator.
