aboutsummaryrefslogtreecommitdiffhomepage
path: root/apps/peertube-cli/README.md
blob: b5b3790905a03f860d486e5c05709f1fe9ce5305 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# PeerTube CLI

## Usage

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

## Dev

## Install dependencies

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

## Develop

```bash
cd peertube-root
npm run dev:peertube-cli
```

## Build

```bash
cd peertube-root
npm run build:peertube-cli
```

## Run

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

## Publish on NPM

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