Skip to content
/ rx Public

Small CLI utility wrapper around Nx tooling to make easy selection of project and task. I build this as a way to learn Rust, so it is definitely not robust and production ready. Use on your own danger.

Notifications You must be signed in to change notification settings

Pustelto/rx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rx

Small CLI utility wrapper around Nx tooling to make easy selection of project and task.

⚠️ I build this as a way to learn Rust, so it is definitely not robust and production ready. Use on your own danger.

‼️ In 15.7 Nx changed how to detects projects. It doesn't store them in workspace.json file in the root, but it auto-detects them. Rx is not compatible with this version as it is using that workspace.json file to list all projects.

Motivation

I use primarely Nx from the terminal and I remember only the main commands. But as soon as I need some custom command I usualy have to go to the project.json file and look it up. This program makes selection of project and task much easier.

Also one of the main motivation was to try a Rust language and this use-case was a perfect fit and it deals with terminals, parsing json files etc.

How to use

If you really want to try this out, clone this repo and run cargo build. Then in your monorepo run the binary <path_to_rx_repo>/target/debug/rx and follow the instructions.

Or if you want to add it as a binary to your path, run these commands:

cargo build --release
cargo install --path .

Then you can simply type rx.

Expect a lot of edgy behaviour and unpolished experience.

About

Small CLI utility wrapper around Nx tooling to make easy selection of project and task. I build this as a way to learn Rust, so it is definitely not robust and production ready. Use on your own danger.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages