Expand description
Prompter: A CLI tool for composing reusable prompt snippets.
This library provides functionality for managing and rendering prompt snippets from a structured library using TOML configuration files.
Re-exports§
pub use error::PrompterError;pub use cli::*;pub use config::*;pub use profile::*;pub use render::*;pub use scaffold::*;
Modules§
- cli
- CLI argument types and mode resolution.
- completions
- Shell completion generation with dynamic profile suggestions.
- config
- Configuration types and config file loading.
- doctor
- Health check and diagnostics module.
- error
- Error types for the prompter crate.
- profile
- Profile resolution, dependency trees, and listing.
- render
- Profile rendering and output formatting.
- scaffold
- Default configuration and library scaffolding.
Enums§
- Agent
Subcommand - Ungated agent-skill subcommand surface.
- Meta
Command - Canonical metadata commands exposed by the shared CLI contract.
Constants§
- SYSTEM_
BASE_ PROFILE - Profile rendered as the always-on invariant base by
prompter system.
Functions§
- available_
profiles - Render one or more profiles’ content to a writer.
- parse_
args_ from - Parse command-line arguments and return the resolved application mode.
- resolve_
app_ mode - Resolve a parsed
Clivalue into the executableAppMode. - run_
list_ stdout - Load the primary config plus its transitive imports, using the default
library root (
~/.local/prompter/library) only when no-coverride is - run_
validate_ stdout - Validate configuration and output results to stdout.
- unescape
- A single profile definition: its raw dependency strings plus the library
directory that should be used to resolve any
.mddeps it declares.