WIP plugins: static files
This commit is contained in:
parent
f023a19c3e
commit
2c0539420d
6 changed files with 124 additions and 15 deletions
|
@ -4,9 +4,9 @@ import { PluginManager } from '../../server/lib/plugins/plugin-manager'
|
|||
import { isAbsolute } from 'path'
|
||||
|
||||
program
|
||||
.option('-n, --pluginName [pluginName]', 'Plugin name to install')
|
||||
.option('-v, --pluginVersion [pluginVersion]', 'Plugin version to install')
|
||||
.option('-p, --pluginPath [pluginPath]', 'Path of the plugin you want to install')
|
||||
.option('-n, --plugin-name [pluginName]', 'Plugin name to install')
|
||||
.option('-v, --plugin-version [pluginVersion]', 'Plugin version to install')
|
||||
.option('-p, --plugin-path [pluginPath]', 'Path of the plugin you want to install')
|
||||
.parse(process.argv)
|
||||
|
||||
if (!program['pluginName'] && !program['pluginPath']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue