zenith_cli/commands/workspace/mod.rs
1//! Pure logic for `zenith workspace scratch`, `zenith workspace candidate`,
2//! `zenith workspace promote`, `zenith workspace bundle`,
3//! `zenith workspace unbundle`, and `zenith workspace finalize`.
4//!
5//! Submodules:
6//! - `scratch` — `zenith workspace scratch new/list/show`
7//! - `candidate` — `zenith workspace candidate` (set lifecycle status)
8//! - [`promote`] — `zenith workspace promote` (merge a selected candidate into a page)
9//! - `bundle` — `zenith workspace bundle/unbundle`
10//! - [`finalize`] — `zenith workspace finalize` (cleanup-policy compaction)
11
12pub(crate) mod bundle;
13mod candidate;
14pub(crate) mod finalize;
15mod promote;
16pub(crate) mod scratch;
17
18pub use bundle::{bundle_doc, bundle_doc_in, unbundle_doc, unbundle_doc_in};
19pub use candidate::{candidate_set_status, candidate_set_status_in};
20pub use finalize::{finalize, finalize_in};
21pub use promote::{promote, promote_in};
22pub use scratch::{
23 ScratchNewOutcome, scratch_list, scratch_list_in, scratch_new, scratch_new_in, scratch_show,
24 scratch_show_in,
25};