Skip to content

Commit

Permalink
Simplify CLI command syntax.
Browse files Browse the repository at this point in the history
Updated README to simplify CLI command syntax and added new optional flags for removing effects and duplicates from the text. The new commands improve clarity and usability for users.
  • Loading branch information
GitBib committed Sep 1, 2024
1 parent d50230e commit 42b72bd
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,27 @@ sub.export()
CLI
------------
```bash
pyasstosrt --filepath=/Users/user/sub/sub.ass export
pyasstosrt export /Users/user/sub/sub.ass
```

**Optional** You can specify an export folder.
```bash
pyasstosrt --filepath=/Users/user/sub/sub.ass export /Users/user/sub/srt
pyasstosrt export /Users/user/sub/sub.ass --output-dir /Users/user/sub/srt
```

**Optional** If you want to remove effects from text, you can use the --removing_effects flag.
**Optional** If you want to remove effects from text, you can use the --remove-effects flag.
```bash
pyasstosrt --filepath=/Users/user/sub/sub.ass --removing_effects=True export /Users/user/sub/srt
pyasstosrt export /Users/user/sub/sub.ass --remove-effects --output-dir /Users/user/sub/srt
```

**Optional** If you need to remove duplicates, you can use the --remove-duplicates flag.
```bash
pyasstosrt export /Users/user/sub/sub.ass --remove-duplicates
```

**Optional** You can use the flags together --remove-duplicates --remove-effects
```bash
pyasstosrt export /Users/user/sub/sub.ass --remove-duplicates --remove-effects
```
Installation
------------
Expand Down

0 comments on commit 42b72bd

Please sign in to comment.