clocky

module
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT

README

clocky

clocky is a simple CLI clock written in Go. clocky is a project inspired by tty-clock.

Installation

Binary

There are a couple of binaries for mac (arm64) and linux. Head over to Releases to download them.

Macos

After you install the binary (clockym) for macos, make sure to rename it to "clocky" and put it into your $GOPATH/bin directory

Go
go install github.com/leanghok120/clocky/cmd/clocky@latest

From source:

git clone https://github.com/leanghok120/clocky.git
cd clocky/cmd/clocky/
go build
go install

Usage

Help
clocky -h
24 hour format

By default clocky uses 24 hour format

clocky
12 hour format

You can also use 12 hour format

clocky -f 12

Contributing

Contributions are welcome! If you have any ideas or improvements, feel free to open an issue or submit a pull request.

Acknowledgements

  • Thanks to figlet4go for providing ASCII art rendering functionality.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

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