Crate cmps

Source
Expand description

§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.

Enums§

CreationMode
This enum indicates the mode to use when creating a new file.

Functions§

create_file
Try to create the file for the specified path.
show_extension_info
Display the template contents for this extension and the source file path.
template_contents
Get the template for a given extension.