geozeke/glinkfix

Refactor wright.py

Closed this issue · 0 comments

The wright.py file can be refactored to be more efficient. Here's the new layout:

options:
  -h, --help            show this help message and exit
  -c, --clean           clean-up build products.
  -C, --coverage        generate an HTML version of a code coverage report and open it in the default browser.
  -d, --dist            create a distribution package ready for publication to pypi, but do not actually publish. Good
                        for installing locally and checking the integrity of the build before release.
  -t, --test            run pytest with the --tb=short option for local testing.
  -p, --pushtest        create and push a distribution package to test.pypi.org.
  -b {major,minor,patch}, --bump {major,minor,patch}
                        bump the version number of the project based on the provided choice: major, minor, patch.
  -r, --release         generate a distribution package and release it to pypi.org.