2018-12-12 23:10:39 +00:00
|
|
|
# Potodo
|
2020-01-13 22:12:15 +00:00
|
|
|
Potodo, a (almost) flawless TODO/progress listing CLI tool for po files.
|
2018-12-13 22:57:35 +00:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pip install potodo
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2018-12-14 09:29:40 +00:00
|
|
|
```
|
2020-01-13 22:12:15 +00:00
|
|
|
usage: potodo [-h] [-p PATH] [-a X] [-b X] [-f] [-o] [-n] [-c] [-j]
|
|
|
|
[--version]
|
2018-12-14 08:50:18 +00:00
|
|
|
|
2020-01-14 21:06:45 +00:00
|
|
|
List and prettify the po files left to translate.
|
2018-12-14 08:50:18 +00:00
|
|
|
|
|
|
|
optional arguments:
|
|
|
|
-h, --help show this help message and exit
|
2020-01-13 22:12:15 +00:00
|
|
|
-p PATH, --path PATH execute Potodo in PATH
|
|
|
|
-a X, --above X list all TODOs above given X% completion
|
|
|
|
-b X, --below X list all TODOs below given X% completion
|
|
|
|
-f, --fuzzy print only files marked as fuzzys
|
|
|
|
-o, --offline don't perform any fetching to GitHub/online
|
|
|
|
-n, --no-reserved don't print info about reserved files
|
|
|
|
-c, --counts render list with the count of remaining entries
|
|
|
|
(translate or review) rather than percentage done
|
|
|
|
-j, --json format output as JSON.
|
|
|
|
--version show program's version number and exit
|
2018-12-13 22:57:35 +00:00
|
|
|
```
|
2019-12-11 23:36:35 +00:00
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
|
|
|
You can run the tests using `tox` locally like:
|
|
|
|
|
|
|
|
tox -p auto
|
|
|
|
|
|
|
|
before commiting.
|
|
|
|
|
|
|
|
A pre-commit hook like:
|
|
|
|
```sh
|
|
|
|
cat <<EOF > .git/hooks/pre-commit
|
|
|
|
#!/bin/sh
|
|
|
|
exec tox -s -p all
|
|
|
|
EOF
|
|
|
|
```
|
2020-01-13 22:12:15 +00:00
|
|
|
may help.
|