Skip to main content

Crate frostx

Crate frostx 

Source
Expand description

frostx - project lifecycle management library.

A folder becomes a managed project by placing a frostx.toml inside it. This library provides everything needed to initialize projects, scan for inactivity, evaluate rules, and execute action pipelines.

The frostx binary is a thin CLI adapter over ops. Applications that want to embed frostx logic can call ops functions directly and handle output however they choose.

Modulesยง

actions
The Action trait and all built-in action implementations. Built-in action implementations and the shared Action trait.
backup
Backup backends (rsync, ssh).
cli
CLI type definitions for the frostx binary and build utilities.
config
Configuration: frostx.toml parsing, include resolution, UUID management. Configuration loading, validation, and state management.
diagnostics
Rich error formatting: TOML snippets and action name suggestions. Rich error formatting for configuration and action diagnostics.
error
Error types and exit code constants.
ops
High-level operations: init, check, run, scan, doctor, gc, projects. High-level frostx operations.
output
Output data structures and renderers (human-readable and JSON/NDJSON). Output rendering - human-readable and JSON/NDJSON.
pipeline
Pipeline: rule evaluation and action execution engine.
prompt
Interactive prompts for CLI commands (questionnaire for frostx init). Interactive prompts for frostx init.
scanner
Filesystem scanner: last-modified timestamp detection.