aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-12-04 17:19:44 +0100
committerChocobozzz <me@florianbigard.com>2018-12-04 17:19:44 +0100
commit5b036b8ef2f15c30afe6cddfe9bcfc5816b08bba (patch)
tree58496f7eb0317f549bafb42be202d0913d711251 /support/doc
parent9024bece9a51d3bc666ba94f272aaec186e3c278 (diff)
downloadPeerTube-5b036b8ef2f15c30afe6cddfe9bcfc5816b08bba.tar.gz
PeerTube-5b036b8ef2f15c30afe6cddfe9bcfc5816b08bba.tar.zst
PeerTube-5b036b8ef2f15c30afe6cddfe9bcfc5816b08bba.zip
Better tools.md doc
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/tools.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/support/doc/tools.md b/support/doc/tools.md
index 98048ec41..69d68464a 100644
--- a/support/doc/tools.md
+++ b/support/doc/tools.md
@@ -82,12 +82,12 @@ The wrapper provides a convenient interface to the following scripts. You can ac
82The wrapper can keep track of instances you have an account on. We limit to one account per instance for now. 82The wrapper can keep track of instances you have an account on. We limit to one account per instance for now.
83 83
84```bash 84```bash
85$ peertube auth add -u "PEERTUBE_URL" -U "PEERTUBE_USER" --password 'PEERTUBE_PASSWORD' 85$ peertube auth add -u 'PEERTUBE_URL' -U 'PEERTUBE_USER' --password 'PEERTUBE_PASSWORD'
86$ peertube auth list 86$ peertube auth list
87┌──────────────────────────────┬──────────────────────────────┐ 87┌──────────────────────────────┬──────────────────────────────┐
88│ instance │ login │ 88│ instance │ login │
89├──────────────────────────────┼──────────────────────────────┤ 89├──────────────────────────────┼──────────────────────────────┤
90"PEERTUBE_URL""PEERTUBE_USER" 90'PEERTUBE_URL''PEERTUBE_USER'
91└──────────────────────────────┴──────────────────────────────┘ 91└──────────────────────────────┴──────────────────────────────┘
92``` 92```
93 93
@@ -110,15 +110,15 @@ Be sure you own the videos or have the author's authorization to do so.
110 110
111```sh 111```sh
112$ node dist/server/tools/peertube-import-videos.js \ 112$ node dist/server/tools/peertube-import-videos.js \
113 -u "PEERTUBE_URL" \ 113 -u 'PEERTUBE_URL' \
114 -U "PEERTUBE_USER" \ 114 -U 'PEERTUBE_USER' \
115 --password 'PEERTUBE_PASSWORD' \ 115 --password 'PEERTUBE_PASSWORD' \
116 -t "TARGET_URL" 116 -t 'TARGET_URL'
117``` 117```
118 118
119* `PEERTUBE_URL` : the full URL of your PeerTube server where you want to import, eg: https://peertube.cpy.re 119* `PEERTUBE_URL` : the full URL of your PeerTube server where you want to import, eg: https://peertube.cpy.re
120* `PEERTUBE_USER` : your PeerTube account where videos will be uploaded 120* `PEERTUBE_USER` : your PeerTube account where videos will be uploaded
121* `PEERTUBE_PASSWORD` : password of your PeerTube account (if omitted, you will be prompted for it) 121* `PEERTUBE_PASSWORD` : password of your PeerTube account (if `PEERTUBE_PASSWORD` is omitted, you will be prompted for it)
122* `TARGET_URL` : the target url you want to import. Examples: 122* `TARGET_URL` : the target url you want to import. Examples:
123 * YouTube: 123 * YouTube:
124 * Channel: https://www.youtube.com/channel/ChannelId 124 * Channel: https://www.youtube.com/channel/ChannelId