Update external API

This commit is contained in:
Augusto Gunsch 2021-11-21 13:45:50 -03:00
parent 723f43ad48
commit 3a709aa4d6
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
2 changed files with 10 additions and 1 deletions

View File

@ -55,6 +55,15 @@ python -m unittest tests.unit
python -m unittest tests.integration python -m unittest tests.integration
``` ```
# Scripted API
An example of calling the program from Python:
```
import fsub
# Pass the arguments here
fsub.run(['-c', 'test.srt'])
```
# Features # Features
- Fixes subtitle numbering - Fixes subtitle numbering
- Converts files to UTF-8 encoding - Converts files to UTF-8 encoding

View File

@ -1,4 +1,4 @@
import fsub import fsub.fsub as fsub
# External interface # External interface