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

feat: add flag for reading specified puzzle part #28

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Dec 1, 2024

  1. feat: add flag for reading specified puzzle part

    Add a `--part` flag in the `read` subcommand to display/read the
    specified part of the puzzle.
    
    When part 1 is included in display (either by directly specifying
    `--part 1`, or by not specifying `--part` flag which defaults to both
    part 1 & 2), the `--- Part One ---` subheader is added in the output.
    This makes display consistent with the output for part 2
    (`--- Part Two ---`, which is included by default), and adds better
    indicator for the puzzle sections.
    
    Fixes: scarvalhojr#27
    tyrone-wu committed Dec 1, 2024
    Configuration menu
    Copy the full SHA
    633f2b8 View commit details
    Browse the repository at this point in the history