The tool that does more with less.
curl (recommended):
curl -fsSL https://github.com/xhd2015/kool/raw/master/install.sh | bashvia script/install:
go run github.com/xhd2015/kool/script/install@latestPlain go install (no web ability):
# for go1.20 and later
go install github.com/xhd2015/kool@latest
# for go1.19 and below
go run github.com/xhd2015/kool/cmd/kool-with-go1.24@latest go install github.com/xhd2015/kool@latestKool commands are splited into the following categories:
- string
- json
- git
- go
- net
- others
# uniq lines
pbpaste | kool lines uniqpbpaste | kool compress
pbpaste | kool pretty Debug helper:
# automatically spawn a dlv process
kool go run --debug ./Version helper:
# run with specific version
kool with-go1.22 go run ./# tag HEAD with next version, and push
kool git tag-next --push
# show HEAD's version
kool git show-tag# kill the porcess that listens on 8080
kool kill-port 8080