Skip to content

Instantly share code, notes, and snippets.

@william-andre
william-andre / updatepot.py
Last active November 23, 2022 14:59
Update the .pot files automatically when runbot detects outdated files.
#!/usr/bin/env python3
"""Update the .pot files automatically when runbot detects outdated files.
positional arguments:
url Link to the runbot instance
optional arguments:
-h, --help show this help message and exit
-m MODULES, --modules MODULES
-u USERNAME, --username USERNAME