Skip to content

A tiny CLI tool to list files according to a yaml with a glob descriptor

License

Notifications You must be signed in to change notification settings

renatocunha/goglobls

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoGlobLS

A tiny CLI tool to list files according to a yaml with a glob descriptor

Usage

# 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.

License

This project is licensed under the MIT License.

About

A tiny CLI tool to list files according to a yaml with a glob descriptor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%