Updated \ncc\CLI > HelpMenu
This commit is contained in:
parent
0548faa7d0
commit
b5cc0d4b70
1 changed files with 0 additions and 16 deletions
|
@ -39,7 +39,6 @@
|
||||||
self::displayMainOptions();
|
self::displayMainOptions();
|
||||||
self::displayManagementCommands();
|
self::displayManagementCommands();
|
||||||
self::displayMainCommands();
|
self::displayMainCommands();
|
||||||
self::displayExtensions();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -53,7 +52,6 @@
|
||||||
Console::outHelpSections([
|
Console::outHelpSections([
|
||||||
new CliHelpSection(['{command} --help'], 'Displays help information about a specific command'),
|
new CliHelpSection(['{command} --help'], 'Displays help information about a specific command'),
|
||||||
new CliHelpSection(['-v', '--version'], 'Display NCC version information'),
|
new CliHelpSection(['-v', '--version'], 'Display NCC version information'),
|
||||||
new CliHelpSection(['-D', '--debug'], 'Enables debug mode'),
|
|
||||||
new CliHelpSection(['-l', '--log-level={debug|info|warn|error|fatal}'], 'Set the logging level', 'info'),
|
new CliHelpSection(['-l', '--log-level={debug|info|warn|error|fatal}'], 'Set the logging level', 'info'),
|
||||||
new CliHelpSection(['--basic-ascii'], 'Uses basic ascii characters'),
|
new CliHelpSection(['--basic-ascii'], 'Uses basic ascii characters'),
|
||||||
new CliHelpSection(['--no-color'], 'Omits the use of colors'),
|
new CliHelpSection(['--no-color'], 'Omits the use of colors'),
|
||||||
|
@ -72,7 +70,6 @@
|
||||||
Console::outHelpSections([
|
Console::outHelpSections([
|
||||||
new CliHelpSection(['project'], 'Manages the current project'),
|
new CliHelpSection(['project'], 'Manages the current project'),
|
||||||
new CliHelpSection(['package'], 'Manages the package system'),
|
new CliHelpSection(['package'], 'Manages the package system'),
|
||||||
new CliHelpSection(['cache'], 'Manages the system cache'),
|
|
||||||
new CliHelpSection(['cred'], 'Manages credentials'),
|
new CliHelpSection(['cred'], 'Manages credentials'),
|
||||||
new CliHelpSection(['config'], 'Changes NCC configuration values'),
|
new CliHelpSection(['config'], 'Changes NCC configuration values'),
|
||||||
new CliHelpSection(['source'], 'Manages remote sources'),
|
new CliHelpSection(['source'], 'Manages remote sources'),
|
||||||
|
@ -92,17 +89,4 @@
|
||||||
new CliHelpSection(['main'], 'Executes the main entrypoint of a package')
|
new CliHelpSection(['main'], 'Executes the main entrypoint of a package')
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Displays the main commands section
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
private static function displayExtensions(): void
|
|
||||||
{
|
|
||||||
Console::out('Extensions:');
|
|
||||||
Console::outHelpSections([
|
|
||||||
new CliHelpSection(['exphp'], 'The PHP compiler extension')
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue