Skip to main content

Crate zoi_cli

Crate zoi_cli 

Source
Expand description

Zoi CLI library.

This crate provides the command-line interface logic for Zoi, including command parsing, execution, and utility functions for interacting with Zoi.

Re-exports§

pub use pkg::mini_resolve;
pub use zoi_project as project;
pub use zoi_hooks as hooks;
pub use zoi_lua as lua;
pub use zoi_purl as purl;
pub use zoi_resolver as resolve;
pub use zoi_sandbox as sandbox;
pub use zoi_telemetry as telemetry;

Modules§

cache
Cache management for archives and package definitions.
cli
Command-line argument parsing and definitions.
cmd
Implementation of CLI commands. This module contains the implementations for all Zoi CLI commands.
config
Configuration management and policy enforcement.
hash
Hash calculation and verification.
local
Local package management and store interaction.
lock
Lock file management.
offline
Offline mode support and utilities.
pgp
PGP signature verification.
pin
Package pinning management.
pkg
Package-related CLI logic.
pkgdir
Package directory management.
recorder
Transaction recording and playback.
sysroot
Sysroot and installation path management.
types
Core types used across the codebase.
upgrade
Package upgrade logic.
utils
CLI-specific utility functions. Utility functions for the Zoi CLI.

Structs§

SourceInstallOptions
Options for installing packages from source.

Enums§

Scope
The installation scope for a package.

Functions§

install_sources
Installs one or more packages from source strings (PURLs or names).
uninstall_package
Uninstalls a package by name.