|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($argv=array()) | |
| usage () | |
Data Fields | |
| $argv | |
| $scriptName | |
Initialization code for command-line scripts.
FIXME: Write a PKPCliRequest and PKPCliRouter class and use the dispatcher to bootstrap and route tool requests.
Definition at line 44 of file CliTool.inc.php.
| CommandLineTool::__construct | ( | $argv = array() | ) |
Reimplemented in XmlToSqlTool, ScheduledTaskTool, CopyAccessLogFileTool, UpgradeTool, installEmailTemplates, MergeUsersTool, RemoveLocaleKey, InstallTool, InstallPluginVersionTool, fixFilenames, xmlEmailsToPo, xmlSchemaToMigration, xmlToPo, MergeCoverageReportTool, dbXMLtoSQL, importExport, runScheduledTasks, buildSwagger, generateTestMetrics, OMPInstallTool, CitationsParsingTool, and ReviewerInterestsDeletionTool.
Definition at line 55 of file CliTool.inc.php.
References $application, $argv, PKPApplication\get(), AppLocale\initialize(), PluginRegistry\loadCategory(), and usage().
| CommandLineTool::usage | ( | ) |
Reimplemented in CopyAccessLogFileTool, XmlToSqlTool, MergeCoverageReportTool, xmlToPo, ScheduledTaskTool, RemoveLocaleKey, xmlSchemaToMigration, xmlEmailsToPo, UpgradeTool, installEmailTemplates, MergeUsersTool, fixFilenames, InstallPluginVersionTool, generateTestMetrics, InstallTool, importExport, CitationsParsingTool, ReviewerInterestsDeletionTool, buildSwagger, and rebuildSearchIndex.
Definition at line 84 of file CliTool.inc.php.
Referenced by __construct().
| CommandLineTool::$argv |
@vary array Command-line arguments
Definition at line 53 of file CliTool.inc.php.
Referenced by ReviewerInterestsDeletionTool\__construct(), CitationsParsingTool\__construct(), OMPInstallTool\__construct(), generateTestMetrics\__construct(), buildSwagger\__construct(), runScheduledTasks\__construct(), importExport\__construct(), dbXMLtoSQL\__construct(), MergeCoverageReportTool\__construct(), xmlEmailsToPo\__construct(), xmlToPo\__construct(), xmlSchemaToMigration\__construct(), fixFilenames\__construct(), InstallPluginVersionTool\__construct(), InstallTool\__construct(), RemoveLocaleKey\__construct(), MergeUsersTool\__construct(), installEmailTemplates\__construct(), UpgradeTool\__construct(), CopyAccessLogFileTool\__construct(), ScheduledTaskTool\__construct(), XmlToSqlTool\__construct(), and __construct().
| string CommandLineTool::$scriptName |
the script being executed
Definition at line 50 of file CliTool.inc.php.