Chocobozzz c7a7e49dd0 CLI dep maintenance upgrade 4 weeks ago
..
scripts 3a4992633e Migrate server to ESM 1 year ago
src 29329d6c45 Implement auto tag on comments and videos 6 months ago
.npmignore 3a4992633e Migrate server to ESM 1 year ago
README.md 3a4992633e Migrate server to ESM 1 year ago
package.json 473840e890 Update apps versions 10 months ago
tsconfig.json 3a4992633e Migrate server to ESM 1 year ago
yarn.lock c7a7e49dd0 CLI dep maintenance upgrade 4 weeks ago

README.md

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)