Giter VIP home page Giter VIP logo

pomd's Introduction

πŸ… pomd

package version package downloads standard-readme compliant package license make a pull request Dependency CI Package Quality Travis Build Standard Greenkeeper badge

Just a good old cli based Pomodoro timer with native notifactions

Table of Contents

Install

$ npm install -g pomd

Or

$ yarn global add pomd

You can then run pomd from the terminal πŸŽ‰

Usage

demo

To use, run pomd:

$ pomd
πŸ…

You can then type help to get all the options.

πŸ… help
#  Commands:
#
#  help [command...]  Provides help for a given command.
#  exit               Exits application.
#  start [options]    Start a Pomodoro
#  stats              Show statistics from your Pomodoro sessions
πŸ… help start
# Usage: start [options]

# Start a Pomodoro
#
# Options:
#
#   --help                 output usage information
#   -t, --time <time>      Set the time of the Pomodoro. Default is 25:00 minutes.
#   -c, --chill <chill>    Set the time of chill. Default is 5:00 minutes.
#   -r, --repeat <repeat>  Repeat Pomodero x times. Default is 1.
#   -l, --loop             Run Pomodoros forever.

You can then start Pomodoros of 20 minutes with 3 minutes break, repeated 6 times:

πŸ… start --time 20:00 --chill 03:00 --repeat 6

The time can also be specified in a shorthand format:

πŸ… start -t 20m -c 3m -r 6

Pomodero can run infinitely:

πŸ… start -t 20m -c 3m --loop

You can also enter multiple time and chill parameters (e.g. Work 50 minutes, chill 10 minutes, work 50 minutes, chill 25 minutes, forever):

πŸ… start -t 50m -c 10m -t 50m -c 25 -l

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am 'Add some feature'
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT

pomd's People

Contributors

alexdrans avatar dependabot[bot] avatar faelisrex avatar greenkeeper[bot] avatar herlifeinpixels avatar kiwiz avatar lalilaloe avatar renovate-bot avatar snyk-bot avatar tiaanduplessis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pomd's Issues

An in-range update of update-notifier is breaking the build 🚨

The dependency update-notifier was updated from 2.5.0 to 2.6.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

update-notifier is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 10 commits.

  • 622ee5f 2.6.0
  • ad8ed1b Suggest yarn when installed with yarn (#132)
  • 5f06620 Exit the update check process if it does not respond after 30s (#156)
  • 79e89ad Fix failing test (#155)
  • c8faa84 Add distTag option (#151)
  • 14632e4 Add failing test for #153 (#154)
  • aafd8a0 Require Node.js 8
  • 0d49f51 Add Tidelift mention in the readme
  • 8df01b3 Fix docs position of shouldNotifyInNpmScript (#143)
  • d371834 Docs: isGlobal option does not default to true (#142)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of snyk is breaking the build 🚨

The dependency snyk was updated from 1.116.3 to 1.116.4.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

snyk is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v1.116.4

1.116.4 (2018-12-10)

Bug Fixes

  • bump mvn, gradle and sbt plugins to support target file paths (29b5ce8)
Commits

The new version differs by 2 commits.

  • 5820a34 Merge pull request #303 from snyk/fix/bump-plugins
  • 29b5ce8 fix: bump mvn, gradle and sbt plugins to support target file paths

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Allow different time/chill lengths

I use 50/10/50/25 instead of 25/5, so it would be useful to be able to configure this.

I'm thinking;

πŸ… start -t 50m -c 10m -t 50m -c 25m --loop

and the timer will loop 50/10/50/25 infinitely.

Could also potentially work for

πŸ… start -t 50m -c 10m -t 50m -c 25m -t 30m -c 10m --loop

Essentially, iterate any combination of -t and -c, and if..

πŸ… start -t 50m -t 60m -c 10m

is entered, throw an error, saying that time can't follow time, chill can't follow chill

What do you think, useful general feature? I'll PR it myself this weekend.

Option repeat gone?

In readme option repeat -r is clearly visible and operational but not in the latest distribution, installed with npm...

Looking for maintainers

I haven't used this package in a while and it is in need of some serious TLC. If you would like to contribute please let me know πŸ™

An in-range update of snyk is breaking the build 🚨

The dependency snyk was updated from 1.170.0 to 1.171.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

snyk is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v1.171.0

1.171.0 (2019-06-02)

Features

  • add branch and pkg name to monitor analytics (b91d2ae)
Commits

The new version differs by 6 commits.

  • 305ac09 Merge pull request #543 from snyk/feat/add_monitor_branch_pname_analytics
  • b91d2ae feat: add branch and pkg name to monitor analytics
  • 464b784 Merge pull request #544 from snyk/chore/delete-docker-promo
  • d82df40 chore: delete expired docker promo
  • 3d66ee6 Merge pull request #534 from snyk/chore/refactor-errors
  • 76b0565 chore: refactor snyk missing api token

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Block-scoped declarations not yet supported outside strict mode

/Users/mustardamus/.nvm/versions/node/v5.6.0/lib/node_modules/pomd/index.js:13
let timerRunning = false
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:387:25)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Function.Module.runMain (module.js:447:10)
    at startup (node.js:140:18)
    at node.js:1001:3
$ node -v
v5.6.0

The straight forward solution is to add 'use strict' after the shebang in your script.

No `repeat` function in Version 2.3.4

Expected Behavior

As in the README specified:

start --time 20:00 --chill 03:00 --repeat 6 or start -t 20m -c 3m -r 6 should work.

Current Behavior

Invalid option: 'r'... and Invalid option: 'repeat'...

Steps to Reproduce

As in the README:

  1. npm install -g pomd
  2. pomd
  3. help start -> NO repeatoption:
 Usage: start [options]

  Start a Pomodoro

  Options:

    --help               output usage information
    -t, --time <time>    Set the time of the Pomodoro. Default is 25:00 minutes.
    -c, --chill <chill>  Set the time of chill. Default is 5:00 minutes.
    -l, --loop           Run continuous Pomodoros.
  1. start --time 20:00 --chill 03:00 --repeat 6 and start -t 20m -c 3m -r 6 see error output above.

Context (Environment)

  1. Node: v8.16.0
  2. npm: 6.4.1
  3. pomd: [email protected]
  4. OS: Ubuntu 18.04

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.