Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anmalkov/gh-timer

GitHub CLI extension that runs a timer or stopwatch
https://github.com/anmalkov/gh-timer

gh-extension timer

Last synced: about 2 months ago
JSON representation

GitHub CLI extension that runs a timer or stopwatch

Awesome Lists containing this project

README

        

# gh-timer

A gh extension that runs a timer or stopwatch

![gh-timer](https://github.com/anmalkov/gh-timer/blob/main/demo.png?raw=true)

## installation

`gh extension install anmalkov/gh-timer`

## options

`gh timer [units] [number] [mode] [clock]`

#### [units]
`-s, --sec` - seconds

`-m, --min` - minutes

#### [mode]
`-w, --stopwatch` - use a stopwatch mode, otherwise use a timer mode

#### [clock]
`-b, --big` - show a big clock, otherwise show a small clock

## usage examples

`gh timer -s 10`
run a timer for 10 seconds

`gh timer -m 5`
run a timer for 5 minutes

`gh timer -m 5 -b`
run a timer for 5 minutes and show big clock

`gh timer -m 60 -w`
run a stopwatch for 1 hour

`gh timer`
run a timer for 10 hours

`gh timer -w`
run a stopwatch for 10 hours

`gh timer -h`
show help

## author

Andrew Malkov