Giter VIP home page Giter VIP logo

timer's Introduction

timer running

timer

A sleep with progress.


Timer is a small CLI, similar to the sleep everyone already knows and love, with a couple of extra features:

  • a progress bar indicating the progression of said timer
  • a timer showing how much time is left
  • named timers

Usage

timer <duration>
timer -n <name> <duration>
man timer
timer --help

It is possible to pass a time unit for <duration>.

Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". If no unit is passed, it defaults to seconds ("s").

Install

homebrew:

brew install caarlos0/tap/timer

macports:

sudo port install timer

snap:

snap install timer

apt:

echo 'deb [trusted=yes] https://repo.caarlos0.dev/apt/ /' | sudo tee /etc/apt/sources.list.d/caarlos0.list
sudo apt update
sudo apt install timer

yum:

echo '[caarlos0]
name=caarlos0
baseurl=https://repo.caarlos0.dev/yum/
enabled=1
gpgcheck=0' | sudo tee /etc/yum.repos.d/caarlos0.repo
sudo yum install timer

arch linux:

yay -S timer-bin

deb/rpm/apk:

Download the .apk, .deb or .rpm from the releases page and install with the appropriate commands.

manually:

Download the pre-compiled binaries from the releases page or clone the repo build from source.

Badges

Release

Software License

Build

Go Report Card

Powered By: GoReleaser

timer's People

Contributors

dependabot[bot] avatar caarlos0 avatar herbygillot avatar lucassperez avatar bmwtsn098 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.