cldire
cldire is a cross-platform, open-source tool and library for declarative directory management. It allows users to describe a filesystem layout and related metadata in a configuration file and to apply that description to create, adjust, or prune files and folders. The approach emphasizes idempotence and repeatability, reducing reliance on ad hoc shell scripting for project setup and workspace organization.
Originating in the early 2020s as a small command-line utility, cldire evolved into a reusable library that
Key features include a declarative configuration file (commonly cldire.yaml), support for directories, symlinks, and simple placeholders,
Usage typically involves writing a configuration that describes the desired tree and then running apply to
Implementation notes: the core is written in Rust to balance speed and safety, with optional bindings for
See also: declarative configuration, filesystem automation, CLI tools, directory structure management.