| Crates.io | cenv-cli |
| lib.rs | cenv-cli |
| version | 0.1.6 |
| created_at | 2024-03-12 08:19:49.57228+00 |
| updated_at | 2024-07-24 18:28:41.699945+00 |
| description | This is a CLI-tool for generating a C/C++ project |
| homepage | |
| repository | https://github.com/wuliao97/cenv-cli.git |
| max_upload_size | |
| id | 1170314 |
| size | 54,623 |
Author - Ennui.lw
Last Edit: 08/07/2024
cargo install cenv-cli
no need to -x, -cpp options. It's on by default.
ex:
cenv my_cpp_proj
↓
Directry Tree
my_cpp_proj
├── build/
├── CMakeLists.txt
├── run
└── src
└── main.cpp
ex:
cenv my_c_proj gcc -c
This is a CLI-tool for generating a C/C++ project
Usage: cenv [OPTIONS] <PROJECT_NAME> [BUILD_TYPE]
Arguments:
<PROJECT_NAME> A name of project
[BUILD_TYPE] You can choose the Tool for Build [default: cmake] [possible values: gcc, gpp, make, cmake, clang, clangpp]
Options:
-c, --c If you want to use C lang
-x, --cpp If you want to use C++ lang
-g, --git Initialization git and add a .gitignore
-r, --readme Add a readme.md file
-s, --slient Slient. Don't print details
-h, --help Print help
-V, --version Print version