| Crates.io | ngrust |
| lib.rs | ngrust |
| version | 1.0.5 |
| created_at | 2023-11-25 09:58:17.506479+00 |
| updated_at | 2023-12-01 15:57:08.79833+00 |
| description | A CLI tool inspired by Angular CLI, built with Rust. |
| homepage | |
| repository | https://github.com/maxiim3/ngrust |
| max_upload_size | |
| id | 1048179 |
| size | 303,801 |

An Angular-CLI inspired tool built with Rust as a learning-project purpose
To use ngrust in your project, add the following to your Cargo.toml file:
[dependencies]
ngrust = "1.0.1"
Then, you can use the ngrust command in your terminal to generate new components:
ngrust --gc <COMPONENT_NAME>
Clone the repository and install it locally:
git clone https://github.com/maxiim3/ngrust.git
cd ngrust
To test the CLI, run:
cargo run -- # Simulates ngrust
cargo run -- --gc # Simulates ngrust --gc
The -- flag is used to escape the cargo command.
Build the project using the --release flag:
cargo build --release
This will create the executable binary inside /target/release/. Then, move the binary with sudo permission into your PATH. On macOS, it would be /usr/local/bin. Once you've done this, you should be able to use the ngrust command.