Skip to content

Add long break#7

Open
evavh wants to merge 98 commits into
mainfrom
long-break
Open

Add long break#7
evavh wants to merge 98 commits into
mainfrom
long-break

Conversation

@evavh

@evavh evavh commented Oct 18, 2024

Copy link
Copy Markdown
Owner

No description provided.

dvdsk and others added 30 commits March 15, 2024 11:54
We have to return an error, println + return Ok(()) will not work. That
would make initsystems like systemd return the service as Ok while it
encountered an error.

I have suppressed the backtrace and location of the error to make it look
a bit more presentable.
@evavh evavh requested a review from yara-blue October 18, 2024 09:55
Comment thread src/cli.rs
#[arg(long, value_name = "duration", value_parser = parse_duration)]
pub long_break_duration: Option<Duration>,
/// Amount of total work time before next break will be a long break.
/// Note: run help command to see the duration format.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add an example of how this works given a few settings. More docs always more better :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants