Crates.io | vcli |
lib.rs | vcli |
version | 0.1.4 |
source | src |
created_at | 2023-07-14 06:23:18.441655 |
updated_at | 2023-07-18 06:38:06.594392 |
description | my tiny CLI for init C++ Project |
homepage | |
repository | https://github.com/Coien-rr/vCLI |
max_upload_size | |
id | 915876 |
size | 20,812 |
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
βββ 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