Skip to main content

Crate apr_cli

Crate apr_cli 

Source
Expand description

apr-cli library

This library is the foundation for the apr CLI binary. Exports CLI structures for testing and reuse.

Re-exports§

pub use error::CliError;

Modules§

error
Error types for apr-cli
federation
APR Federation - Smart Model Routing & Catalog
model_pull
pipe
Stdin/stdout pipe support (PMAT-261)
qa_types

Structs§

Cli
apr - APR Model Operations Tool

Enums§

Commands
DataCommands
Data quality pipeline subcommands (powered by alimentar).
ExperimentCommands
Subcommands for apr experiment — interactive experiment browser (ALB-024)
ExtendedCommands
Extended CLI commands (analysis, profiling, QA, benchmarks, and advanced tools).
ModelOpsCommands
PipelineCommands
ALB-028: Pipeline orchestration subcommands — wraps forjar DAG engine.
PretrainMode
CLI selector bound to training-loop-pretrain-v1 §hyperparameter_defaults. Atomically flips the (regime, lr_max, warmup_steps, target_val_loss) 4-tuple per INV-TRAIN-009. Explicit --lr / --warmup-steps / --target-val-loss still win over the table row.
RunsCommands
Subcommands for apr runs — experiment run management (ALB-050/051)
ServeCommands
Inference server subcommands (plan/run).
TokenizeCommands
Tokenizer training pipeline subcommands (forjar-style plan/apply).
ToolCommands
TrainCommands
Training pipeline subcommands (forjar-style plan/apply).

Functions§

cli_main
Full CLI entry point for cargo install aprender.
emit_version_json
FALSIFY-GPUTRAIN-007 — emit apr --version --json output with the 3-key schema required by AC_GPUTRAIN_007_REQUIRED_VERSION_JSON_KEYS.
execute_command
Execute the CLI command and return the result.