Skip to main content

nimbus_core/
lib.rs

1//! Core session/vault-management logic shared by nimbus's frontends (`nimbus-cli` and
2//! `nimbus-tui`). Owns the `App` (registered vaults, current vault/cwd, the local staging
3//! vault) and the on-disk app config it's built from; frontends drive it through `App`'s
4//! methods and are responsible for their own input/output loop.
5//!
6//! `App` exposes two overlapping surfaces: the command methods (`cd`, `cp`, `delete`, ...),
7//! which mirror what a user types, and data-returning ones (`vault_names`, `list_cwd`,
8//! `fetch_object_bytes`, `write_object_bytes`) for a frontend that renders rather than
9//! prints. There is no terminal or UI code here.
10
11pub mod app;
12pub mod config;