3 releases
0.1.2 | Mar 13, 2024 |
---|---|
0.1.1 | Mar 12, 2024 |
0.1.0 | Mar 12, 2024 |
#288 in Command line utilities
435 downloads per month
11KB
235 lines
C-env-CLI
Installation
cargo install cenv-cli
Usage
if you want to genarate project with C++
ex:
cenv-cli my_cpp_project
if C lang
ex:
cenc-cli my_c_project gcc -c
Command Help
$ cenv-cli c_test --help
Usage: cenv-cli [OPTIONS] <PROJECT_NAME> [BUILD_TYPE]
Arguments:
<PROJECT_NAME> Name of Project name
[BUILD_TYPE] you can choice the Types for Build. Default: CMake [default: cmake] [possible values: gcc, gpp, cmake, clang, clangpp]
Options:
-c, --c Default: false | If you want to use C lang
-x, --cpp Default: true | If you want to use C++ lang
-g, --git Initialization git and add a .gitignore
-r, --readme Add a readme.md file
-h, --help Print help
-V, --version Print version
Dependencies
~1.3–2MB
~36K SLoC