https://github.com/koki-develop/slp
💤 sleep command with rich progress bar.
https://github.com/koki-develop/slp
Last synced: 4 months ago
JSON representation
💤 sleep command with rich progress bar.
- Host: GitHub
- URL: https://github.com/koki-develop/slp
- Owner: koki-develop
- License: mit
- Created: 2023-04-14T23:09:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-13T03:10:53.000Z (11 months ago)
- Last Synced: 2025-03-23T03:41:32.366Z (11 months ago)
- Language: Go
- Size: 281 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# slp
[](https://github.com/koki-develop/slp/releases/latest)
[](https://github.com/koki-develop/slp/actions/workflows/ci.yml)
[](https://goreportcard.com/report/github.com/koki-develop/slp)
[](./LICENSE)
sleep command with rich progress bar.

## Contents
- [Installation](#installation)
- [Usage](#usage)
- [LICENSE](#license)
## Installation
### Homebrew
```console
$ brew install koki-develop/tap/slp
```
### `go install`
```console
$ go install github.com/koki-develop/slp@latest
```
### Releases
Download the binary from the [releases page](https://github.com/koki-develop/slp/releases/latest).
## Usage
### Basic
```sh
$ slp [time]
# e.g.
$ slp 3
```

### Customize Color
`--gradient` flag can be used to apply a gradient between the two colors.
```sh
# e.g.
$ slp 3 --gradient "#000000,#ffffff"
```

You can also set a single color with the `-color` flag.
```sh
# e.g.
$ slp 3 --color "#ff0000"
```

## LICENSE
[MIT](./LICENSE)