Go to file
John Olheiser 281ed5818b
All checks were successful
continuous-integration/drone/push Build is passing
Add changelog (#10)
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
2020-03-31 23:20:24 -05:00
_test Move tests to _test (#8) 2020-01-23 21:06:05 +00:00
cmd/globber Move to urfave CLI (#12) 2020-04-01 03:04:41 +00:00
.changelog.yml Add changelog (#10) 2020-03-31 23:20:24 -05:00
.drone.yml Move to urfave CLI (#12) 2020-04-01 03:04:41 +00:00
.gitignore Add cross-compile (#7) 2020-01-23 22:00:29 +00:00
.globber Add cross-compile (#7) 2020-01-23 22:00:29 +00:00
.golangci.yml Add CI and linter (#5) 2020-01-23 18:51:08 +00:00
CHANGELOG.md Add changelog (#10) 2020-03-31 23:20:24 -05:00
globber_test.go Move tests to _test (#8) 2020-01-23 21:06:05 +00:00
globber.go Add CI and linter (#5) 2020-01-23 18:51:08 +00:00
go.mod Move to urfave CLI (#12) 2020-04-01 03:04:41 +00:00
go.sum Move to urfave CLI (#12) 2020-04-01 03:04:41 +00:00
Makefile Move to urfave CLI (#12) 2020-04-01 03:04:41 +00:00
README.md Add CI and linter (#5) 2020-01-23 18:51:08 +00:00

globber

A CLI tool to test globs.

Build Status

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.

Example