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

conradoqg/goglobls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published