command
module
Version:
v1.0.4
Opens a new window with list of versions in this module.
Published: Jan 17, 2025
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
ΒΆ
go-caffeine β
A simple command-line utility to prevent your system from sleeping.
Installation π
go install github.com/xyztavo/go-caffeine@latest
Usage π
Run indefinitely:
go-caffeine
Run for specific duration:
go-caffeine -t 1h # Run for 1 hour
go-caffeine -t 30m # Run for 30 minutes
Check version:
go-caffeine version
Features β¨
- πͺ Prevents system sleep/screen saver
- π Cross-platform support (Windows, macOS, Linux)
- β° Optional duration timer
- π Visual spinner indicator
Building from source
git clone https://github.com/xyztavo/go-caffeine.git
cd go-caffeine
go build
License π
MIT
Documentation
ΒΆ
There is no documentation for this package.
Source Files
ΒΆ
Click to show internal directories.
Click to hide internal directories.