diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-08 14:02:03 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-07-24 10:58:16 +0200 |
commit | 2c0539420d77339e6afe8d7920b44af4c0dcb1e6 (patch) | |
tree | 6728a1cec7e2688a42cc84466a8c978067f2c574 /scripts/plugin/install.ts | |
parent | f023a19c3eeeea2b014b47fae522a62eab320048 (diff) | |
download | PeerTube-2c0539420d77339e6afe8d7920b44af4c0dcb1e6.tar.gz PeerTube-2c0539420d77339e6afe8d7920b44af4c0dcb1e6.tar.zst PeerTube-2c0539420d77339e6afe8d7920b44af4c0dcb1e6.zip |
WIP plugins: static files
Diffstat (limited to 'scripts/plugin/install.ts')
-rwxr-xr-x | scripts/plugin/install.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/plugin/install.ts b/scripts/plugin/install.ts index 8e9c9897f..1725cbeb6 100755 --- a/scripts/plugin/install.ts +++ b/scripts/plugin/install.ts | |||
@@ -4,9 +4,9 @@ import { PluginManager } from '../../server/lib/plugins/plugin-manager' | |||
4 | import { isAbsolute } from 'path' | 4 | import { isAbsolute } from 'path' |
5 | 5 | ||
6 | program | 6 | program |
7 | .option('-n, --pluginName [pluginName]', 'Plugin name to install') | 7 | .option('-n, --plugin-name [pluginName]', 'Plugin name to install') |
8 | .option('-v, --pluginVersion [pluginVersion]', 'Plugin version to install') | 8 | .option('-v, --plugin-version [pluginVersion]', 'Plugin version to install') |
9 | .option('-p, --pluginPath [pluginPath]', 'Path of the plugin you want to install') | 9 | .option('-p, --plugin-path [pluginPath]', 'Path of the plugin you want to install') |
10 | .parse(process.argv) | 10 | .parse(process.argv) |
11 | 11 | ||
12 | if (!program['pluginName'] && !program['pluginPath']) { | 12 | if (!program['pluginName'] && !program['pluginPath']) { |