aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/cli.ts
Commit message (Collapse)AuthorAgeFilesLines
* Optimize peertube scriptChocobozzz2020-01-281-1/+2
|
* Add redundancy CLIChocobozzz2020-01-281-1/+18
|
* peertube-import-videos.ts: add --tmpdir, --first, --last and --verbose ↵Frank de Lange2019-08-261-0/+33
| | | | | | | | | | | | | | | | | | | | [level] parameters (#2045) * peertube-import-videos.ts: add --tmpdir <tmpdir> parameter, used to designate working directory for downloading and converting imported videos * peertube-import-videos.ts: add --first and --last parameters to limit processing of the returned playlist to the first/last N elements * peertube-import-videos.ts: add --verbose [verbosity] parameter, set this from 0 (only errors are reported) to 4 (for trace debugging), default is 2 (info). When --verbose is used without the optional parameter the logging level is set to 3 (debug). At level 1 (warn) it will only report on successfully uploaded videos (and/or errors), use this when running peertube-import-videos in a cron job to mirror a channel. * package.json: remove dependency on loglevel cli.ts: add getLogger(loglevel), to be used in CLI tools, add --verbose to set log level peertube-import-videos: use getLogger (from cli) instead of loglevel, add error_exit (log error and exit), move --verbose to cli.ts, etc. * cli.ts: remove superfluous reference to default logging level * peertube-import-videos: exit_error -> exitError
* Correctly import tags in CLIChocobozzz2019-07-291-2/+4
|
* WIP plugins: move plugin CLI in peertube scriptChocobozzz2019-07-241-2/+16
| | | | Install/uninstall/list plugins remotely
* Fix CLI default boolean valuesChocobozzz2019-06-171-3/+10
|
* Add ability to override CLI import attributesChocobozzz2019-06-131-3/+66
|
* Add more CLI testsChocobozzz2019-06-131-14/+35
|
* Fix netrc toolsChocobozzz2019-06-111-3/+4
|
* Fix optional privacy in upload endpointChocobozzz2019-04-251-20/+52
|
* Fix #1328 - application-config initialisation in CLI tools (#1343)Frank de Lange2018-10-241-1/+1
| | | Test for an empty object in `cli.ts` when no config data is present (i.e. when run on a new install).
* Fix config endpointChocobozzz2018-10-031-2/+1
|
* show last commit hash alongside server version in footerRigel Kent2018-10-011-11/+2
|
* one cli to unite them allRigel Kent2018-09-141-0/+63
Ash nazg thrakatulûk agh burzum-ishi krimpatul - refactor import-videos to use the youtubeDL helper - add very basic tests for the cli