1
0
Fork 0
peertube/apps/peertube-cli
2024-02-22 10:07:03 +01:00
..
scripts
src Fix upload script preview short option 2024-02-22 10:07:03 +01:00
.npmignore
package.json
README.md
tsconfig.json
yarn.lock

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)