X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftools%2Fpeertube-redundancy.ts;h=2c62a3c195db7524d54a4f0f17d2cd765f3bf3f8;hb=bfcaa9c1947304c9f90843bc288d3d8f64a71097;hp=bcaae63a3cbe3c16f1eb6bb012d63c2597acf52b;hpb=c0e8b12e7fd554ba4d2ceb0c4900804c6a4c63ea;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tools/peertube-redundancy.ts b/server/tools/peertube-redundancy.ts index bcaae63a3..2c62a3c19 100644 --- a/server/tools/peertube-redundancy.ts +++ b/server/tools/peertube-redundancy.ts @@ -1,19 +1,15 @@ -import { registerTSPaths } from '../helpers/register-ts-paths' -registerTSPaths() - -import * as CliTable3 from 'cli-table3' +import CliTable3 from 'cli-table3' import { Command, program } from 'commander' import { uniq } from 'lodash' import { URL } from 'url' import validator from 'validator' -import { HttpStatusCode } from '@shared/models' -import { VideoRedundanciesTarget } from '@shared/models' +import { HttpStatusCode, VideoRedundanciesTarget } from '@shared/models' import { assignToken, buildServer, getServerCredentials } from './cli' import bytes = require('bytes') program - .name('plugins') + .name('redundancy') .usage('[command] [options]') program