I've rewritten a lot of the script in this release. I'm gonna start to write a bit of a changelog but I'm likely to miss some things.
[ADDED]
- Ability to output multiple files during a runtime
- Ability to specify directories and recurse into them
- Ability to output files relative to CWD or to the files being translated
[CHANGED]
- Using `argparse` builtin lib over old `getopt` parsing
- Changed a lot of CLI options, removed redundant or irrelevant ones and added some new ones:
- Removed `--extract-all` as it was obselete
- Removed `--default-domain` as I have no interest in supporting change of defaults
- Removed `--escape` as I have no need to escape all non-ascii characters
- Removed `--keyword` as for now I have no need for custom keywords
- Removed `--no-default-keywords` w.r.t. the above
- Removed `--style` as I only need GNU style
- Removed `--exclude-file` as for now I don't need it
- Removed `--no-docstrings` as for now I don't need it
- Removed reading from stdin and stdout for now
- Renamed `--add-location` to `--include-context` to be more explicit
- Renamed `--no-location` to `--no-context` as above
- Changed `--docstrings` to have the original behaviour from pygettext
- Added `--command-docstrings` to do what `--docstrings` did in v1
- Added `--recursive` option, see [[ADDED]](added)
- Added `--relative-to-cwd` option, see [[ADDED]](added)
- Made defaults settings more catered towards Red's usage
- Made file discovery more naive, now just looks for any `.py` files