X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftools%2Fpeertube-auth.ts;h=1934e7986ea62bff00e8432c808340b161c37748;hb=12152aa09ff47dc5c5a627c27030855e254e58ad;hp=e54649002d9475a1178c9dbdc48d0c8ac045ec12;hpb=ba5a8d89bbf049e4afc41543bcc072cccdb02669;p=github%2FChocobozzz%2FPeerTube.git 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 @@ import { registerTSPaths } from '../helpers/register-ts-paths' registerTSPaths() -import * as program from 'commander' +import { OptionValues, program } from 'commander' import * as prompt from 'prompt' import { getNetrc, getSettings, writeSettings } from './cli' import { isUserUsernameValid } from '../helpers/custom-validators/users' @@ -66,7 +66,7 @@ program .option('-U, --username ', 'Username') .option('-p, --password ', 'Password') .option('--default', 'add the entry as the new default') - .action((options: program.OptionValues) => { + .action((options: OptionValues) => { /* eslint-disable no-import-assign */ prompt.override = options prompt.start()