Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions DEV.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Development Instructions

## Create a Release

```bash
git commit -am "release: {VERSION}"
git tag "v{VERSION}"
git push
git push --tags
```
15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,14 @@ Options:
### Sync

Sync subs in the folder `subs` with the subs on track 0 of videos in the current working directory, outputting the synced subs to `synced/`
`subbub subtitles sync -s ./subs -o ./synced sync -r ./:0`
`subbub subtitles sync --subtitles-path ./subs --output ./synced --reference-subtitles ./:0`

### Combine

Combine subs in the folder `ja` with the subs on track 1 of videos in current working directory, outputting them to `dual-ja/`
`subbub subtitles combine -s ./ja -o ./dual-ja -e ./:1`
`subbub subtitles combine --subtitles-path ./ja --output ./dual-ja --secondary-subtitles ./:1`

### Match

Match subs in the folder `subs/` with the videos in the current working directory, moving the subs next to the videos
`subbub subtitles -i ./subs -o ./ match-videos`

## Create a Release

```bash
git commit -am "release: {VERSION}"
git tag "v{VERSION}"
git push
git push --tags
```
`subbub subtitles match-videos --subtitles-path ./subs --output ./ --video-path ./`
2 changes: 1 addition & 1 deletion src/bin/subbub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ enum SubtitlesCommand {
#[command(flatten)]
video_path: VideoArgs,
/// the suffix to place at the end of the subtitles file to distinguish it from other subtitle files in the same directory
#[arg(short = 's', long)]
#[arg(short = 'x', long)]
suffix: Option<String>,
},
/// adds given subtitle(s) (-s/--subtitles) to the given video(s) (-v/--video_path)
Expand Down