ngrust

Crates.iongrust
lib.rsngrust
version1.0.5
sourcesrc
created_at2023-11-25 09:58:17.506479
updated_at2023-12-01 15:57:08.79833
descriptionA CLI tool inspired by Angular CLI, built with Rust.
homepage
repositoryhttps://github.com/maxiim3/ngrust
max_upload_size
id1048179
size303,801
Maxime Tamburrini (maxiim3)

documentation

README

image.png

ngrust

An Angular-CLI inspired tool built with Rust as a learning-project purpose

Crates.io

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>

GitHub

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 and Install the Project

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.

Commit count: 22

cargo fmt