World Conquest Chronicles

World Conquest Chronicles

Motivator, v1.2.2

The utility for repeatedly displaying notifications in the standard OS way.

Perform refactoring, cover the code with unit tests, improve the output of the status command.

Change Log

  • fix the format:
    • of generated task names;
    • of duplicated task names;
    • of the output of the status command:
      • improve status displaying;
      • colorize the output;
  • correct the text according to the English grammar;
  • misc.:
    • perform refactoring;
    • cover the code with unit tests;
    • set up the linters;
    • set up the Travis CI.

Usage

$ motivator -h | --help
$ motivator start [-c PATH | --config PATH]
$ motivator status
$ motivator stop
$ motivator foreground [-c PATH | --config PATH]

Commands:

  • start — start (or restart) displaying notifications in the background;
  • status — check that notifications are being display in the background;
  • stop — stop displaying notifications in the background;
  • foreground — start displaying notifications in the foreground.

Options:

  • -h, --help — show the context-sensitive help;
  • -c PATH, --config PATH — the path to a config file (default: config.json).

Environment variables:

  • NO_COLOR — disable colorful output (applies only to the status command).

Repository

Link: https://github.com/thewizardplusplus/motivator/tree/v1.2.2.

Content: code.

License: MIT.

Screenshots

The colorful output of the status command