5 releases
0.1.4 | Jul 18, 2023 |
---|---|
0.1.3 | Jul 16, 2023 |
0.1.2 | Jul 14, 2023 |
0.1.1 | Jul 14, 2023 |
0.1.0 | Jul 14, 2023 |
#2495 in Command line utilities
25 downloads per month
10KB
185 lines
π 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
Dependencies
~1.6β2.6MB
~50K SLoC