Go to file
Jules Lasne (jlasne - seluj78) 7de2243cd3 Fixed potodoignre matching 2020-10-15 10:31:48 +02:00
.github Create FUNDING.yml 2020-10-13 14:10:06 +02:00
potodo Fixed potodoignre matching 2020-10-15 10:31:48 +02:00
tests Fixed back 2020-10-14 15:08:49 +02:00
.all-contributorsrc Merge branch 'master' into all-contributors/add-grenoya 2020-10-13 13:31:55 +02:00
.gitignore WIP on cache 2020-09-16 08:58:41 +02:00
.pep8speaks.yml Added pep8speaks.yml config 2020-10-13 12:57:12 +02:00
.potodoignore Fixed potodoignre matching 2020-10-15 10:31:48 +02:00
.travis.yml Force tox recreate on travis 2020-10-13 13:24:42 +02:00
LICENSE Version 0.0.1 2018-12-13 23:57:35 +01:00
README.md Updated README (added -l --matching-files) 2020-10-14 21:25:29 +02:00
requirements.txt Added better ignore patter for potodoignore + Added caching of passed args for better cache handling 2020-10-14 09:46:50 +02:00
setup.py Added better ignore patter for potodoignore + Added caching of passed args for better cache handling 2020-10-14 09:46:50 +02:00
tox.ini Added coverage report 2020-10-14 13:46:53 +02:00

README.md

Potodo

Build Status

All Contributors

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

Potodo is part of poutils!

Poutils (.po utils) is is a metapackage to easily install usefull Python tools to use with po files and potodo is a part of it! Go check out Poutils to discover the other useful tools for po file related translation!

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] [--show-reservation-dates] [--no-cache] [-i] [-l] [--version] [-v]

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 only only reserved files
  --show-reservation-dates
                        show issue creation dates
  --no-cache            Disables cache (Cache is disabled when files are modified)
  -i, --interactive     Activates the interactive menu
  -l, --matching-files  Suppress normal output; instead print the name of each matching po file from which output would normally have been printed.
  --version             show program's version number and exit
  -v, --verbose         Increases output verbosity

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

👀 💻

Jules Lasne (jlasne)

👀 💻

Christophe Nanteuil

👀 💻

Claire Revillet

👀 💻

This project follows the all-contributors specification. Contributions of any kind welcome!