focusapp-cli

0.4.0 • Public • Published

Focus

License: MIT Build Status

Focus is the tiny cli pomodoro application. After pomodoro has eaten, your OS fires the notification. (Mac OS tested).

Read more about tech in wikipedia

Demo

Installation

npm install -g focusapp-cli

Usage

Run focus to start. You can change configuration in ~/.focus.json

Configuration file will create after first launch. Configuration path is ~/.focus.js Database saves in ~/.focus.db.

Options:

  • --help, -h
  • report
  • list
  • --version, -v

Example shell

# Report information about today, week and month 
$ focus report
# It's time for work! 
$ focus
# Get last 10 focuses 
$ focus list

Roadmap

  • Report show today tasks
  • Report show heatmap of tasks of the month
  • Set configaration through the args, not only config file
  • Autocomplete tasks title

For Developers

Preparing...

  1. fork this repo
  2. yarn
  3. node.js main.js

Run tests npm test

Run linting: npm run lint or xo

Thank you.

Use inside tmux session

When using focus within a tmux session, Mac OS notifications doesn't work. This can be solved by following the steps described in this comment: https://github.com/julienXX/terminal-notifier/issues/115#issuecomment-104214742

Readme

Keywords

Package Sidebar

Install

npm i focusapp-cli

Weekly Downloads

1

Version

0.4.0

License

MIT

Last publish

Collaborators

  • zatsepin