A CLI to turn off mac off notification for x amount of time. To help you doing deepwork
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
src
.gitignore
.npmignore
README.md
package-lock.json
package.json
tsconfig.json

README.md

DeepWork

demo

Requirement

  • NodeJS

Installation

npm install -g deepwork

Usage

deepwork [duration] [unit]

For example :

deepwork 1 hour

After that, you can safely close the terminal. The script will still run in the background

Supported Time Units

DeepWork using momentJS for duration conversion. So DeepWork we support all duration unit that's supported by momentjs. Which means all of these units works

"year"          | "years"           | "y" |
"month"         | "months"          | "M" |
"week"          | "weeks"           | "w" |
"week"          | "weeks"           | "w" |
"day"           | "days"            | "d" |
"hour"          | "hours"           | "h" |
"minute"        | "minutes"         | "m" |
"second"        | "seconds"         | "s" |
"millisecond"   | "milliseconds"    | "ms"

`

More info & Contributing

If you have any question, ping me on twitter @muhajirframe or summit an issue

Enjoy