#directory #file #create #template

app contrive

Contrive is a simple utility to automate creation of directory and file structures

2 releases

0.1.1 May 26, 2021
0.1.0 May 26, 2021

#316 in #create

MIT license

11KB
221 lines

Contrive

Contrive is a simple utility to automate creation of directory and file structures. It has basic functionalities like creation of directories and files with content in them. You can use static names or create dynamic ones with {{your_variable_name}} syntax.

Installation

cargo install contrive

Example usage

contrive help contrive add lecture lecture.json
contrive lecture topic:trigonometry date:3_14_21
contrive remove lecture

Example template

In example_template directory is json file used in above example that shows how your config should be formatted

Dependencies

~0.8–2MB
~39K SLoC