asweigart / asweigart/ascii-moon-phase-python
Add --indent option
- Dominant language
- Python
- Stars
- 32
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
I'd like to post these to forums that use markdown, where monospace fonts are used if you have four spaces of indentation. It'd be nice if the tool had this option, but also you could indent any amount to right-justify the moon instead of having it be on the left.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the command-line entry point and the logic that renders the moon phase. Implement the requested --indent behavior so output can receive a user-specified amount of leading whitespace, including four spaces for Markdown monospace formatting, and verify the resulting alignment manually.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100