aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/cli.ts
Commit message (Collapse)AuthorAgeFilesLines
* Better auth args handling for peertube cliChocobozzz2022-01-181-8/+15
|
* Stop using tsconfig registerChocobozzz2022-01-061-4/+4
| | | | Prefer to replace paths at compile time
* shared/ typescript types dir server-commandsChocobozzz2021-12-171-1/+1
|
* chore(refactor): remove shared folder dependencies to the serverlutangar2021-12-161-1/+4
| | | | | | | | | | | Many files from the `shared` folder were importing files from the `server` folder. When attempting to use Typescript project references to describe dependencies, it highlighted a circular dependency beetween `shared` <-> `server`. The Typescript project forbid such usages. Using project references greatly improve performance by rebuilding only the updated project and not all source files. > see https://www.typescriptlang.org/docs/handbook/project-references.html
* Use an object to represent a serverChocobozzz2021-07-201-9/+6
|
* Shorter server command namesChocobozzz2021-07-201-5/+5
|
* Introduce videos commandChocobozzz2021-07-201-1/+1
|
* Introduce user commandChocobozzz2021-07-201-6/+4
|
* Adapt CLI to new commandsChocobozzz2021-07-201-14/+17
|
* Fix CLI toolsChocobozzz2021-07-201-10/+22
|
* Update tools dependenciesChocobozzz2021-06-251-5/+5
|
* Update server dependenciesChocobozzz2021-02-031-24/+28
|
* Fix import/upload CLI optionsChocobozzz2020-04-161-2/+3
|
* Update CLI dependenciesChocobozzz2020-04-021-27/+12
|
* Fix CLI tools typingsChocobozzz2020-04-011-3/+3
|
* Move to eslintcontainChocobozzz2020-02-031-21/+21
|
* 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