Skip to content

Commit 46b4f25

Browse files
committed
README
1 parent 9086e9e commit 46b4f25

File tree

1 file changed

+24
-31
lines changed

1 file changed

+24
-31
lines changed

README.md

Lines changed: 24 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -62,48 +62,51 @@ If it is the first time you've run the utility, a browser window should popup an
6262

6363
Full list of options:
6464
```
65+
Usage:
6566
-cache string
66-
token cache file (default "request.token")
67+
token cache file (default "request.token")
6768
-caption string
68-
caption filename. Can be a URL
69+
caption filename. Can be a URL
6970
-categoryId string
70-
video category Id
71+
video category Id
7172
-chunksize int
72-
size (in bytes) of each upload chunk. A zero value will cause all data to be uploaded in a single request (default 16777216)
73+
size (in bytes) of each upload chunk. A zero value will cause all data to be uploaded in a single request (default 16777216)
7374
-debug
74-
turn on verbose log output
75+
turn on verbose log output
7576
-description string
76-
video description (default "uploaded by youtubeuploader")
77+
video description (default "uploaded by youtubeuploader")
7778
-filename string
78-
video filename. Can be a URL. Read from stdin with '-'
79+
video filename. Can be a URL. Read from stdin with '-'
7980
-language string
80-
video language (default "en")
81+
video language (default "en")
8182
-limitBetween string
82-
only rate limit between these times e.g. 10:00-14:00 (local time zone)
83+
only rate limit between these times e.g. 10:00-14:00 (local time zone)
8384
-metaJSON string
84-
JSON file containing title,description,tags etc (optional)
85+
JSON file containing title,description,tags etc (optional)
8586
-metaJSONout string
86-
filename to write uploaded video metadata into (optional)
87+
filename to write uploaded video metadata into (optional)
8788
-notify
88-
notify channel subscribers of new video. Specify '-notify=false' to disable. (default true)
89+
notify channel subscribers of new video. Specify '-notify=false' to disable. (default true)
8990
-oAuthPort int
90-
TCP port to listen on when requesting an oAuth token (default 8080)
91+
TCP port to listen on when requesting an oAuth token (default 8080)
9192
-privacy string
92-
video privacy status (default "private")
93+
video privacy status (default "private")
9394
-quiet
94-
suppress progress indicator
95+
suppress progress indicator
9596
-ratelimit int
96-
rate limit upload in Kbps. No limit by default
97+
rate limit upload in Kbps. No limit by default
9798
-secrets string
98-
Client Secrets configuration (default "client_secrets.json")
99+
Client Secrets configuration (default "client_secrets.json")
100+
-sendFilename
101+
send original file name to YouTube (default true)
99102
-tags string
100-
comma separated list of video tags
103+
comma separated list of video tags
101104
-thumbnail string
102-
thumbnail filename. Can be a URL
105+
thumbnail filename. Can be a URL
103106
-title string
104-
video title
107+
video title
105108
-version
106-
show version
109+
show version
107110
```
108111
*NOTE:* When specifying a URL as the filename, the data will be streamed through the localhost (download from remote host, then upload to Youtube)
109112

@@ -136,16 +139,6 @@ Video title, description etc can specified via the command line flags or via a J
136139
- times can be provided in one of two formats: `yyyy-mm-dd` (UTC) or `yyyy-mm-ddThh:mm:ss+zz:zz`
137140
- any values supplied via command line will take precedence
138141

139-
## Releases
140-
141-
Releases are built with [Goreleaser](https://github.com/goreleaser/goreleaser):
142-
```
143-
# Signed tag
144-
git tag -s <tag>
145-
git push --tags
146-
GITHUB_TOKEN=xxxxyyy goreleaser release
147-
```
148-
149142
## Credit
150143

151144
Based on [Go Youtube API Sample code](https://github.com/youtube/api-samples/tree/master/go)

0 commit comments

Comments
 (0)