-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: #27
- Loading branch information
Showing
3 changed files
with
34 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters