NAME

PFT::Tree - Filesystem tree mapping a PFT site

SYNOPSIS

PFT::Tree->new();
PFT::Tree->new($basedir);
PFT::Tree->new($basedir, {create => 1});

DESCRIPTION

The structure is the following:

├── build
├── content
│   └── ...
├── inject
├── pft.yaml
└── templates

Where the content directory is handled with a PFT::Content instance.

Properties

dir_content
content

Returns a PFT::Content object, abstracting the access to the content directory.

map

Returns a PFT::Map object, abstracting the the content graph.

conf

Returns a PFT::Conf object, abstracting the configuration file.