aoc-cli icon indicating copy to clipboard operation
aoc-cli copied to clipboard

feat: add flag for reading specified puzzle part

Open tyrone-wu opened this issue 1 year ago • 0 comments

Add an optional --part flag that accepts values 1 or 2 in the read subcommand for displaying/reading the specified part of the puzzle. If the flag is not specified, this defaults to displaying the entire puzzle.

This also adds some display consistencies. When output includes part 1 puzzle, the --- Part One --- subheader is included in the output. Additionally, if only displaying part 2 puzzle, the --- Day Foo: Bar --- header is included in the output.

Fixes: #27

tyrone-wu avatar Dec 01 '24 02:12 tyrone-wu