Skip to content

Simple command-line program to generate directory tree structure from a blueprint

License

Notifications You must be signed in to change notification settings

MarrieMitsu/ctkbiru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ctkbiru

Simple command-line program to generate directory tree structure from a blueprint, part of my personal daily workflow utility.

blueprint simply means template in txt format.

Installation

You need rust toolchain to build it yourself

cargo install --git https://github.com/MarrieMitsu/ctkbiru

Usage

Define a tree structure blueprint file in txt format, you can also see the blueprints which contains list of my personal blueprint example.

my-blueprint.txt :

assets/
 images/
 fonts/
  A/
   LICENSE.txt
  B/
   LICENSE.txt
src/
 this-is-a-dir/
 this-is-a-file
README.txt

Register the blueprint

ctkbiru add ./my-blueprint.txt

Be aware registering do not check whether the file contains any forbidden printable ASCII characters, Non-printable characters, Reserved file names and Other rules respective to your operating system. Instead it will produce an error when you try to generate the blueprint.

Generate the blueprint

ctkbiru gen my-blueprint --name my-project --path ./path/to/target

License

MIT

About

Simple command-line program to generate directory tree structure from a blueprint

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages