Skip to main content

Module cli

Module cli 

Source
Expand description

LOGOS CLI (largo) — argument parsing and dispatch.

This module defines the largo command-line surface: the Cli parser, the Commands enum, and run_cli, which dispatches each subcommand to its handler in [crate::commands].

§Architecture

The CLI is built on [clap] for argument parsing with derive macros. Each command variant in Commands maps to a handler function in a dedicated module under commands/ that performs the actual work.

§Examples

# Create a new project
largo new my_project

# Build and run
cd my_project
largo run

# Publish to registry
largo login
largo publish

Structs§

Cli

Enums§

Commands
Available CLI subcommands.

Functions§

run_cli
Parse CLI arguments and execute the corresponding command.