Skip to main content

Crate nargo

Crate nargo 

Source
Expand description

Nargo CLI - A high-performance frontend tool inspired by Vite and Rolldown.

This crate provides the command-line interface for Nargo, including:

  • Development server with hot reload
  • Production builds
  • Testing and coverage
  • Linting and formatting
  • Package management
  • Git hooks
  • LSP and MCP servers

Re-exports§

pub use cli::Cli;
pub use commands::Commands;
pub use installer::InstallDiff;
pub use installer::InstallOptions;
pub use installer::InstallPhase;
pub use installer::InstallProgress;
pub use installer::InstallResult;
pub use installer::Installer;

Modules§

cli
CLI definition for Nargo.
commands
Command definitions for Nargo CLI.
installer
Dependency installer implementation.

Functions§

run
Run the Nargo CLI with the given arguments.
run_async
Run the Nargo CLI asynchronously.