diff options
Diffstat (limited to 'server/tools/peertube-auth.ts')
-rw-r--r-- | server/tools/peertube-auth.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tools/peertube-auth.ts b/server/tools/peertube-auth.ts index e54649002..1934e7986 100644 --- a/server/tools/peertube-auth.ts +++ b/server/tools/peertube-auth.ts | |||
@@ -3,7 +3,7 @@ | |||
3 | import { registerTSPaths } from '../helpers/register-ts-paths' | 3 | import { registerTSPaths } from '../helpers/register-ts-paths' |
4 | registerTSPaths() | 4 | registerTSPaths() |
5 | 5 | ||
6 | import * as program from 'commander' | 6 | import { OptionValues, program } from 'commander' |
7 | import * as prompt from 'prompt' | 7 | import * as prompt from 'prompt' |
8 | import { getNetrc, getSettings, writeSettings } from './cli' | 8 | import { getNetrc, getSettings, writeSettings } from './cli' |
9 | import { isUserUsernameValid } from '../helpers/custom-validators/users' | 9 | import { isUserUsernameValid } from '../helpers/custom-validators/users' |
@@ -66,7 +66,7 @@ program | |||
66 | .option('-U, --username <username>', 'Username') | 66 | .option('-U, --username <username>', 'Username') |
67 | .option('-p, --password <token>', 'Password') | 67 | .option('-p, --password <token>', 'Password') |
68 | .option('--default', 'add the entry as the new default') | 68 | .option('--default', 'add the entry as the new default') |
69 | .action((options: program.OptionValues) => { | 69 | .action((options: OptionValues) => { |
70 | /* eslint-disable no-import-assign */ | 70 | /* eslint-disable no-import-assign */ |
71 | prompt.override = options | 71 | prompt.override = options |
72 | prompt.start() | 72 | prompt.start() |