Skip to content

Commit 2fce8c9

Browse files
committed
✨ add PHP CLI Version constant
Signed-off-by: otengkwame <[email protected]>
1 parent 5b84334 commit 2fce8c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Core/core/Console/Commands/Help.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Help extends Console
1616
public static function runHelp()
1717
{
1818
// Console::runSystemCommand(Console::$phpCommand . 'help');
19-
Console::runSystemCommand('php webby');
19+
Console::runSystemCommand(Console::userConstants()->PHP_CLI_VERSION . ' webby');
2020
}
2121

2222
/**
@@ -540,14 +540,14 @@ private static function create_view()
540540
Create a view by specifying which path and file name to give or a module it belongs with.
541541
542542
{$usage}
543-
php webby create:view <module-type:module-name> <view-file-path.extension>
543+
php webby create:view <module-type:module-name> <view-file-path.extension> <option>
544544
545545
{$examples}
546546
php webby create:view some_view.php
547547
php webby create:view some-view.php
548548
php webby create:view users/list-users.php
549549
php webby create:view web:app users/list-users.php
550-
php webby create:view web:app users/list_user.php --plates
550+
php webby create:view web:app users/list_user.php --plates
551551
552552
CREATEVIEW;
553553
}

0 commit comments

Comments
 (0)