vcli

Crates.iovcli
lib.rsvcli
version0.1.4
sourcesrc
created_at2023-07-14 06:23:18.441655
updated_at2023-07-18 06:38:06.594392
descriptionmy tiny CLI for init C++ Project
homepage
repositoryhttps://github.com/Coien-rr/vCLI
max_upload_size
id915876
size20,812
(Coien-rr)

documentation

README

πŸŒ‹ 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
Commit count: 11

cargo fmt