You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
203 B
12 lines
203 B
8 months ago
|
<?php
|
||
|
|
||
|
require_once 'vendor/autoload.php';
|
||
|
|
||
|
$hello_cmd = new Commando\Command();
|
||
|
|
||
|
$hello_cmd->option()->require()->describedAs('A person\'s name');
|
||
|
|
||
|
$name = $hello_cmd[0];
|
||
|
|
||
|
echo "Hello, $name", PHP_EOL;
|