Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add '--man-version', '--man-date' parameters #40

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Jul 1, 2022

  1. Move 'cli()' method to 'click_man.shell'

    It's easier to test from here and avoids us having loads of code in a
    dunder file. Some style fixups are included.
    
    Signed-off-by: Stephen Finucane <[email protected]>
    stephenfin committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    78dedc3 View commit details
    Browse the repository at this point in the history
  2. Add shell unit tests

    Signed-off-by: Stephen Finucane <[email protected]>
    stephenfin committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    5b643ac View commit details
    Browse the repository at this point in the history
  3. cli: Expose knobs for date, version

    Provide a way to override the date and version used in generated man
    pages. This can be useful where you want to generate man pages before
    actually releasing something and don't want to manually edit them.
    
    Signed-off-by: Stephen Finucane <[email protected]>
    stephenfin committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    7dcd7ba View commit details
    Browse the repository at this point in the history
  4. travis: Resolve build issues

    The tests now rely on the package being installed. Do that by using tox
    to run our tests in Travis, like we do locally.
    
    Signed-off-by: Stephen Finucane <[email protected]>
    stephenfin committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    2b2c1b1 View commit details
    Browse the repository at this point in the history