PeerTube/apps/peertube-cli
Chocobozzz 29329d6c45 Implement auto tag on comments and videos
* Comments and videos can be automatically tagged using core rules or
   watched word lists
 * These tags can be used to automatically filter videos and comments
 * Introduce a new video comment policy where comments must be approved
   first
 * Comments may have to be approved if the user auto block them using
   core rules or watched word lists
 * Implement FEP-5624 to federate reply control policies
2024-05-29 15:03:14 +02:00
..
scripts Migrate server to ESM 2023-08-11 15:02:33 +02:00
src Implement auto tag on comments and videos 2024-05-29 15:03:14 +02:00
.npmignore Migrate server to ESM 2023-08-11 15:02:33 +02:00
package.json Update apps versions 2024-02-23 15:49:09 +01:00
README.md Migrate server to ESM 2023-08-11 15:02:33 +02:00
tsconfig.json Migrate server to ESM 2023-08-11 15:02:33 +02:00
yarn.lock Update peertube-cli dependencies 2024-02-23 15:23:53 +01:00

PeerTube CLI

Usage

See https://docs.joinpeertube.org/maintain/tools#remote-tools

Dev

Install dependencies

cd peertube-root
yarn install --pure-lockfile
cd apps/peertube-cli && yarn install --pure-lockfile

Develop

cd peertube-root
npm run dev:peertube-cli

Build

cd peertube-root
npm run build:peertube-cli

Run

cd peertube-root
node apps/peertube-cli/dist/peertube-cli.js --help

Publish on NPM

cd peertube-root
(cd apps/peertube-cli && npm version patch) && npm run build:peertube-cli && (cd apps/peertube-cli && npm publish --access=public)