Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

kachick/never18

Repository files navigation

never18

CI - Go Status CI - Nix Status

Happy happy 17th birthday to everyone, I hope you all had a safe and happy 17th birthday this year!

Installation

Prebuilt binaries

> curl -L https://github.com/kachick/never18/releases/latest/download/never18_Linux_x86_64.tar.gz | tar xvz -C ./ never18
> ./never18 --version
never18 0.0.1 (70f68fa) # 2023-07-18T21:58:05Z

go install

> go install github.com/kachick/never18/cmd/never18@latest
go: downloading...
> ${GOPATH:-"$HOME/go"}/bin/never18 --version
never18 dev (rev)

In Nix, you can skip installation steps

> nix run github:kachick/never18 -- --version
never18 0.0.4 (be419ed)
> nix run github:kachick/never18/v0.0.4 -- --birth=1962-08-07
(Will work with specific versions since v0.0.4+)

Usage

> never18 --birth=1962-08-07
17 years, 527 months, 11 days

> never18 --birth=1962-08-07 --limit=12
12 years, 587 months, 11 days

> never18 --birth=1962-08-07 --limit=12 --moment=2112-09-03
12 years, 1656 months, 27 days

> never18 --birth=1962-08-07 --nominally
60 years, 11 months, 11 days

You can check other options via --help.

Bug Report

Add the --doctor option, and report your terminal screenshot and output from GitHub issues.