crescentrose / crescentrose/sunshine

Suggestion: --day > success=day || error=night

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
23
Forks
0
PR merge metrics
No merged PRs in 30d

Description

A suggestion for an additional option, e.g. `--day`.

Would return success if true, and error if false. For stuff like: `sunshine --day &>/dev/null && echo "day" || echo "night"`

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue proposes a new `--day` command-line option with exit success when it is day and an error status when it is night. Start by locating the CLI option handling and the existing sunrise/sunset status logic; done means the example command prints the expected result for both conditions.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.