one cli to unite them all
authorRigel Kent <sendmemail@rigelk.eu>
Thu, 13 Sep 2018 12:27:44 +0000 (14:27 +0200)
committerRigel Kent <sendmemail@rigelk.eu>
Fri, 14 Sep 2018 09:08:55 +0000 (11:08 +0200)
commit8704acf49efc770d73bf07c10468ed8c74d28a83
treeffd46289fcf9a13ac4412b167e9f71dfb35753c5
parent1d9d9cfdcf3983e3fd89026bc4b5633a8abf5752
one cli to unite them all

Ash nazg thrakatulûk agh burzum-ishi krimpatul

- refactor import-videos to use the youtubeDL helper
- add very basic tests for the cli
16 files changed:
package.json
server/helpers/youtube-dl.ts
server/tests/cli/index.ts
server/tests/cli/peertube.ts [new file with mode: 0644]
server/tools/cli.ts [new file with mode: 0644]
server/tools/get-access-token.ts [deleted file]
server/tools/import-videos.ts [deleted file]
server/tools/peertube-auth.ts [new file with mode: 0644]
server/tools/peertube-get-access-token.ts [new file with mode: 0644]
server/tools/peertube-import-videos.ts [new file with mode: 0644]
server/tools/peertube-upload.ts [new file with mode: 0644]
server/tools/peertube-watch.ts [new file with mode: 0644]
server/tools/peertube.ts [new file with mode: 0755]
server/tools/upload.ts [deleted file]
support/doc/tools.md
tsconfig.json