Go to file
2019-12-13 14:41:42 +01:00
potodo Initialize and tox cache. 2019-12-13 14:41:42 +01:00
tests Added new test file and new tests 2019-12-13 14:21:56 +01:00
.gitignore Fixed argparse and ran black 2018-12-14 00:12:36 +01:00
.travis.yml Initialize and tox cache. 2019-12-13 14:41:42 +01:00
LICENSE Version 0.0.1 2018-12-13 23:57:35 +01:00
README.md Few tests, tox, and travis. 2019-12-12 00:40:57 +01:00
requirements.txt Version 0.0.1 2018-12-13 23:57:35 +01:00
setup.py Version bump 2019-12-13 12:40:36 +01:00
tox.ini Few tests, tox, and travis. 2019-12-12 00:40:57 +01:00

Potodo

Potodo, a (almost) flawless TODO/progress listing CLI tool for po files

Installation

pip install potodo

Usage

usage: potodo [-h] [-p PATH] [-l] [-f] [-o] [-n] [-a ABOVE] [-b BELOW]

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 the given path
  -l, --matching-files  Suppress normal output; instead print the name of each matching po file from which output would normally have been printed.
  -f, --fuzzy           Will only print files marked as fuzzys
  -o, --offline         Will not do any fetch to GitHub/online if given
  -n, --no-reserved     Will not print the info about reserved files
  -a ABOVE, --above ABOVE
                        Will list all TODOs ABOVE given INT% completion
  -b BELOW, --below BELOW
                        Will list all TODOs BELOW given INT% completion

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.