https://github.com/conradoqg/goglobls
A tiny CLI tool to list files according to a yaml with a glob descriptor
https://github.com/conradoqg/goglobls
glob yaml
Last synced: about 1 month ago
JSON representation
A tiny CLI tool to list files according to a yaml with a glob descriptor
- Host: GitHub
- URL: https://github.com/conradoqg/goglobls
- Owner: conradoqg
- License: mit
- Created: 2018-05-19T13:39:58.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-25T11:58:51.000Z (over 7 years ago)
- Last Synced: 2025-02-28T13:07:37.908Z (over 1 year ago)
- Topics: glob, yaml
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
GoGlobLS
====
_A tiny CLI tool to list files according to a yaml with a glob descriptor_
Usage
----
```sh
# Go to the test folder
$ cd test
# List all files according to the test.yaml descriptor
$ ../goglobls -config test.yaml .
a\a\a
a\b\a
a\b\b
a\c\c
a\d
b\b
# List all files according to the test.yaml descriptor filtered by type "source"
$ ../goglobls -config test.yaml -type source .
a\a\a
a\b\a
a\b\b
a\c\c
a\d
# List all files according to the test.yaml descriptor filtered by type "source" and "test"
$ ../goglobls -config test.yaml -type source -type test .
a\a\a
a\b\a
a\b\b
a\c\c
a\d
b\b
```
Check the descriptor [example](test/test.yaml).
License
----
This project is licensed under the [MIT](LICENSE.md) License.