timer

command module
v0.0.0-...-4615cbc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2018 License: BSD-3-Clause Imports: 11 Imported by: 0

README

Timer

Build Status Build status Maintainability Go Report Card GolangCI GoDoc

Simple timer with acoustic alarm

Build

make

Usage

The basic usage is to pass a duration compatible with ParseDuration

A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".

./timer 25m

It's possible to pass mutiple durations.

./timer 25m 5m

If you want to repeat this secuence of durations just use the repeat option.

./timer 25m 5m -r

It's also possible to mute the acoustic signal.

./timer 25m -m

Documentation

Documentation is available at godoc

Contributions

Thanks to juskiddink for his gong.wav sound

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL