Skip to content
Compare
Choose a tag to compare
@tianon tianon released this 11 May 06:12
· 15 commits to master since this release
  • initial release! 🎈

4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4

$ version='1.0'
$ arch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"
$ wget -O gosleep "https://github.com/tianon/gosleep/releases/download/$version/gosleep-$arch"
$ wget -O gosleep.asc "https://github.com/tianon/gosleep/releases/download/$version/gosleep-$arch.asc"
$ export GNUPGHOME="$(mktemp -d)"
$ gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
$ gpg --batch --verify gosleep.asc gosleep
$ rm -r "$GNUPGHOME" gosleep.asc
$ chmod +x gosleep
$ ./gosleep --help
Usage:
  gosleep --for <duration> OR --until <time>

Application Options:
      --for
      --until

Help Options:
  -h, --help   Show this help message

$ gosleep --for 1s
 1s / 1s [█████████████████████████████████████████████████████████████] 100.0%