vCLI is my tiny CLI for init C++ (maybe support multiple language) Project, which is written in Rustπ¦.
You can easily install vCLI using cargo
.
cargo install vcli
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
- C++
- Shell
βββ 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
- Add more templates
- Support for customised templates
- More and more