Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 2 months 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-25T11:58:51.000Z (about 6 years ago)
- Last Synced: 2024-06-20T07:59:22.520Z (7 months 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.