Thanks to visit codestin.com
Credit goes to docs.rs

Skip to main content

Crate kb_core

Crate kb_core 

Source
Expand description

Shared core for KB Shell CLI tools.

Config (KB_ROOT), JSON envelope for agents, shared errors and exit codes.

Re-exports§

pub use config::resolve_kb_root;
pub use config::expand_home;
pub use config::kb_config_file_path;
pub use config::kb_todo_config_file_path;
pub use config::Config;
pub use config::ConfigResolveOptions;
pub use error::KbError;
pub use error::Result;
pub use index::scan_kb;
pub use index::should_index_note;
pub use index::tag_map;
pub use note::NoteKind;
pub use note::NoteMeta;
pub use note::Zone;
pub use output::kb_root_string;
pub use output::write_stderr_error;
pub use output::write_stdout;
pub use output::Envelope;
pub use output::ErrorResponse;
pub use paths::normalize_kb_relative;

Modules§

config
error
index
KB markdown index: scan notes and aggregate tags.
note
output
paths

Constants§

VERSION
Crate version (matches Cargo.toml).