/vCLI

my tiny CLI for init C++ Project

Primary LanguageRust

πŸŒ‹ vCLI

πŸ’­ About

vCLI is my tiny CLI for init C++ (maybe support multiple language) Project, which is written in RustπŸ¦€.

πŸ“¦ Install

You can easily install vCLI using cargo.

cargo install vcli

πŸš€ Usage

You can use vCLI just wiht your target project name

vcli <project-name>

vCLI use cpp as default template, so you can use it to init cpp project without additional flag. simple example as follow:

vcli hello-world

In Addition, you need add language flag -l or --language to specify the lang of target, if you want use it for extra template. Simple shell example as follow:

vcli hello-world -l shell

✨ Supported Language

  • C++
  • Shell

🌲 Template Structure (CPP version)

β”œβ”€β”€ app/
β”œβ”€β”€ include
β”‚   β”œβ”€β”€ utils/
β”‚   β”œβ”€β”€ hello.h
β”‚   └── your header file...
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ run.sh
β”‚   └── your scripts file..
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ core/ 
β”‚   β”œβ”€β”€ utils/
β”‚   β”œβ”€β”€ CMakeLists.txt
β”‚   β”œβ”€β”€ hello.cc
β”‚   └── your source file...
β”œβ”€β”€ tests/
β”œβ”€β”€ CMakeLists.txt
└── main.cc

βœ… TODO

  • Add more templates
  • Support for customised templates
  • More and more