Skip to main content

Module cli

Module cli 

Source
Expand description

Phase 37/39: LOGOS CLI (largo)

Command-line interface for the LOGOS build system and package registry.

This module provides the command-line argument parsing and dispatch logic for the largo CLI tool. It handles all user-facing commands including project scaffolding, building, running, and package registry operations.

§Architecture

The CLI is built on clap for argument parsing with derive macros. Each command variant in Commands maps to a handler function 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
Command-line interface for the LOGOS build tool.

Enums§

Commands
Available CLI subcommands.

Functions§

run_cli
Parse CLI arguments and execute the corresponding command.