Skip to main content

Crate osp_cli

Crate osp_cli 

Source
Expand description

osp-cli is the canonical single-crate package for osp.

  • app for the main CLI entrypoints and stateful host surface
  • config for configuration types and resolution
  • core for shared output, row, and runtime types
  • dsl for pipeline parsing and execution
  • ui for rendering and message formatting
  • repl for REPL engine types
  • completion for command/completion tree types
  • plugin for plugin discovery/dispatch management
  • api, ports, and services for the service/client layer

The old multi-crate mirror still lives under workspace/, but the root crate’s canonical implementation now lives in the module tree below.

Re-exports§

pub use crate::app::App;
pub use crate::app::AppBuilder;
pub use crate::app::AppRunner;
pub use crate::app::run_from;
pub use crate::app::run_process;
pub use crate::core::command_policy;

Modules§

api
app
Main host-facing entrypoints plus bootstrap/runtime state.
cli
completion
Completion engine for OSP CLI/REPL.
config
core
dsl
OSP’s row-oriented DSL.
plugin
Plugin discovery, dispatch, and catalog management.
ports
prelude
Small convenience surface for embedding the app without importing the full module tree.
repl
REPL engine plus the host-side interactive shell integration.
runtime
Compatibility shim for runtime types while callers move under crate::app.
services
ui

Macros§

row