You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--help command gives me Could not find the specified path.
PHP code:
<?php
require_once 'vendor/autoload.php';
use Commando\Command;
// command config
$cmd = new Command;
$cmd
->setHelp('This is a great command it. It can be used by calling `run <argument>`.')
->option()->referToAs('the first arg')->describeAs('run takes an optional single argument. e.g. run argument0')
->option('a')->description("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.")
->option('b')->boolean()->describeAs("A boolean option.")
->option('c')->aka('foo')->describeAs("Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt.")->required();
Output:
C:\Users\MYUSER\Desktop\myscript>php index.php --help
Could not find the specified path.
Could not find the specified path.
Could not find the specified path.
Could not find the specified path.
Could not find the specified path.
Could not find the specified path.
Could not find the specified path.
index.php
This is a great command it. It can be used by calling `run <argument>`.
the first arg
run takes an optional single argument. e.g. run argument0
-a <argument>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
velit esse cillum dolore eu fugiat nulla pariatur.
-b
A boolean option.
-c/--foo <argument>
Required. Excepteur sint occaecat cupidatat non proident, sunt in culpa
qui officia deserunt.
--help
Show the help page for this command.
--help command gives me Could not find the specified path.
PHP code:
Output:
composer.json:
I am on Windows
The text was updated successfully, but these errors were encountered: