ansua

command
v0.55.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

README

ansua

ansua is a command line interface to help tracking time.

SYNOPSIS

ansua <duration> [ "<command>" ]

DESCRIPTION

ansua execute a timer on defined duration and optionally run a command when timer finished.

When ansua timer is running, one can pause the timer by pressing p+Enter, and resume it by pressing r+Enter, or stopping it using CTRL+c.

PARAMETERS

The duration parameter is using the "XhYmZs" format, where "h" represent hours, "m" represent minutes, and "s" represent seconds. For example, "1h30m" equal to one hour 30 minutes, "10m30" equal to 10 minutes and 30 seconds.

The command parameter is optional.

EXAMPLE

Run timer for 1 minute,

$ ansua 1m

Run timer for 1 hour and then display notification using notify-send in GNU/Linux,

$ ansua 1h notify-send "ansua completed"

Repository: https://git.sr.ht/~shulhan/pakakeh.go

Issue: https://todo.sr.ht/~shulhan/pakakeh.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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