Skip to main content

Crate systemprompt_cli

Crate systemprompt_cli 

Source
Expand description

systemprompt.io command-line application.

Implements the systemprompt binary: the command tree (admin, analytics, build, cloud, core, infrastructure, plugins, web), output formatting, interactive prompts, and session handling. run is the process entry point; CliConfig and the settings enums control verbosity, color, and output format.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Re-exports§

pub use cli_settings::CliConfig;
pub use cli_settings::ColorMode;
pub use cli_settings::OutputFormat;
pub use cli_settings::VerbosityLevel;
pub use context::CommandContext;
pub use env_overrides::EnvOverrides;
pub use env_overrides::SessionEnv;
pub use interactive::DialoguerPrompter;
pub use interactive::Prompter;
pub use interactive::ScriptedPrompter;

Modules§

admin
admin command tree: privileged platform administration.
analytics
Top-level analytics command group spanning all metric domains.
build
The build command group for compiling the workspace and MCP extensions.
cli_settings
CLI-wide runtime settings: output format, verbosity, colour, and interactivity.
cloud
cloud command tree for systemprompt.io Cloud.
context
Per-invocation command context.
core
core command group: the platform’s primary domain commands.
descriptor
Per-command bootstrap descriptor: which of profile/secrets/paths a command needs.
env_overrides
Process-environment snapshot for the CLI.
environment
Detection of the CLI’s execution environment (TTY, CI, subprocess).
infrastructure
infra command group: services, database, jobs, and logs administration.
interactive
Interactive prompting helpers shared across commands.
paths
Resolved filesystem paths the CLI operates against.
plugins
plugins command group: discover and inspect compiled extensions.
presentation
Terminal presentation widgets.
session
CLI session lifecycle: resolve, create, persist, and clear sessions.
shared
Cross-command CLI utilities shared across command modules.
web
The web command group: configuration management for the static-site layer.

Macros§

define_pool_command

Functions§

run