Will list all .po files that are to be transated
Project description
Potodo
Potodo, a (almost) flawless TODO/progress listing CLI tool for po files.
Installation
pip install potodo
Usage
usage: potodo [-h] [-p path] [-e path [path ...]] [-a X] [-b X] [-f] [-o] [-n] [-c] [-j] [--exclude-fuzzy] [--exclude-reserved] [--only-reserved] [--version]
List and prettify the po files left to translate.
optional arguments:
-h, --help show this help message and exit
-p path, --path path execute Potodo in path
-e path [path ...], --exclude path [path ...]
exclude from search
-a X, --above X list all TODOs above given X% completion
-b X, --below X list all TODOs below given X% completion
-f, --only-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
--exclude-fuzzy select only files without fuzzy entries
--exclude-reserved select only files that aren't reserved
--only-reserved select reserved files only
--version show program's version number and exit
Contributing
You can run the tests using tox
locally like:
tox -p auto
before commiting.
A pre-commit hook like:
cat <<EOF > .git/hooks/pre-commit
#!/bin/sh
exec tox -s -p all
EOF
may help.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Julien Palard 👀 💻 |
Antoine 👀 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
potodo-0.9.0.tar.gz
(9.4 kB
view details)
File details
Details for the file potodo-0.9.0.tar.gz
.
File metadata
- Download URL: potodo-0.9.0.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.1rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acc60106fc017ed53bb3e5540962893093d66df58f1d8919745c5fca6fd4a646 |
|
MD5 | 3b6c6b4ce5312e9400682945b573cd98 |
|
BLAKE2b-256 | b22d269a2241add6e55c6886351b11eae701f7ef10665b1684851124cf5c3b22 |