rust-nrm 0.1.3

A Rust-based NPM Registry Manager for efficiently managing and switching between npm registries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use clap::Parser;
use rust_nrm::utils::{
    cli::{Cli, CommandExecutor},
    registries::Store,
};

#[tokio::main]
async fn main() {
    let cli = Cli::parse();
    let store = Store::load().await;
    let mut executor = CommandExecutor::new(store);
    executor.execute(cli.command).await;
}