fsvalidator 0.3.0

A file structure validator
Documentation
[root]
type = "dir"
name = "basic"
allow_defined_only = true
required = true

[[root.children]]
type = "file"
pattern = "fsvalidator\\..*"
required = true

[[root.children]]
type = "file"
name = "my_file.txt"

[[root.children]]
type = "dir"
name = "folder"

[[root.children]]
type = "ref"
ref = "project"


[template.project]
type = "dir"
pattern = "my_project"
[[template.project.children]]
type = "file"
name = "my_log.log"
[[template.project.children]]
type = "ref"
ref = "phase"

[template.phase]
type = "dir"
pattern = "phase.*"
required = true

[[template.phase.children]]
type = "file"
name = "phase.log"
required = true


[global]
required = false
allow_defined_only = true
excluded = ["~.*", "\\.DS_store"]

[config]
max_recursive_depth = 2