Skip to content

Commit 030f0e6

Browse files
committed
update justfile and README.md with profile support for upload and listing commands
1 parent a67cc35 commit 030f0e6

2 files changed

Lines changed: 22 additions & 22 deletions

File tree

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -123,35 +123,35 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
123123

124124
```yaml
125125
common:
126-
prefix: "My Video Series"
127-
keywords: "rust,youtube,programming"
128-
category: ScienceTechnology
129-
privacyStatus: "private"
130-
playlistId: "PL1234567890123456"
126+
prefix: "My Video Series"
127+
keywords: "rust,youtube,programming"
128+
category: ScienceTechnology
129+
privacyStatus: "private"
130+
playlistId: "PL1234567890123456"
131131

132132
titles:
133-
- "Episode 1: Introduction"
134-
- "Episode 2: Getting Started"
133+
- "Episode 1: Introduction"
134+
- "Episode 2: Getting Started"
135135

136136
files:
137-
- "/path/to/video1.mp4"
138-
- "/path/to/video2.mp4"
139-
# Each entry can also contain multiple files separated by comma, semicolon, or space:
140-
# - "/path/to/part1.mp4;/path/to/part2.mp4"
141-
# - "/path/to/video3.mp4, /path/to/video3_extra.mp4"
137+
- "/path/to/video1.mp4"
138+
- "/path/to/video2.mp4"
139+
# Each entry can also contain multiple files separated by comma, semicolon, or space:
140+
# - "/path/to/part1.mp4;/path/to/part2.mp4"
141+
# - "/path/to/video3.mp4, /path/to/video3_extra.mp4"
142142
```
143143

144144
#### Individual Format
145145

146146
```yaml
147147
videos:
148-
- title: "My First Video"
149-
description: "This is my first video"
150-
keywords: "rust,youtube"
151-
file: "/path/to/video1.mp4"
152-
category: ScienceTechnology
153-
privacyStatus: "private"
154-
playlistId: "PL1234567890123456"
148+
- title: "My First Video"
149+
description: "This is my first video"
150+
keywords: "rust,youtube"
151+
file: "/path/to/video1.mp4"
152+
category: ScienceTechnology
153+
privacyStatus: "private"
154+
playlistId: "PL1234567890123456"
155155
```
156156
157157
### Configuration Reference

justfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# YouTube Uploader shortcuts
22

33
# Upload a video with the given config file
4-
# Usage: just upload ../ups/2026/video_20260308.yaml
5-
upload file:
6-
cargo run --release --bin yt-upload -- --file {{file}}
4+
# Usage: just upload video_20260308.yaml
5+
upload file profile:
6+
cargo run --release --bin yt-upload -- --file {{file}} -p {{profile}}

0 commit comments

Comments
 (0)