John Olheiser
281ed5818b
All checks were successful
continuous-integration/drone/push Build is passing
Add changelog Merge branch 'master' of gitea.com:jolheiser/globber into changelog Add changelog config Co-authored-by: jolheiser <john.olheiser@gmail.com> Reviewed-on: #10 |
||
---|---|---|
_test | ||
cmd/globber | ||
.changelog.yml | ||
.drone.yml | ||
.gitignore | ||
.globber | ||
.golangci.yml | ||
CHANGELOG.md | ||
globber_test.go | ||
globber.go | ||
go.mod | ||
go.sum | ||
Makefile | ||
README.md |
globber
A CLI tool to test globs.
Download
go get -u gitea.com/jolheiser/globber/cmd/globber
globber -h
Usage
Give globber some patterns
and separators
to test a directory for matching globs.
If no separators are passed, globber defaults to using only /
globber -p "**.go" -s "/"
.globber file
Rather than passing many flags, you can instead point globber to a .globber
file, which closely resembles a .gitignore
file.
Then only separators need to be passed, if wanted.