[][src]Crate cmps

cmps

This library is the backend for the cmps cli tool. It can be used to create files and automatically fill them with a default template. The template is determined from the file extension.

Functions

compose

The main function of this library. It takes a path to either a non-existing file, or an empty existing file. The extension should usually match the extension in the path, but can be overriden by providing a different extension. If extension is None, an empty file will be created.