pub struct DeliveryOptions {Show 13 fields
pub in_place: bool,
pub output: Option<PathBuf>,
pub out_dir: Option<PathBuf>,
pub report: Option<PathBuf>,
pub emit: Vec<String>,
pub expect: Option<PathBuf>,
pub expect_sha256: Option<String>,
pub dry_run: bool,
pub require_change: bool,
pub force: bool,
pub keep_others: bool,
pub json: bool,
pub jsonl: bool,
}Expand description
Publication and preparation options; never serialized into a saved plan.
Fields§
§in_place: boolReplace FILE through the same atomic write as -o. A refused edit leaves FILE unchanged. Not with -o or –out-dir.
output: Option<PathBuf>Primary edited DOCX; required unless saving, bundling, replacing FILE or dry-running.
out_dir: Option<PathBuf>Publish a new bundle directory (document.docx, changes.diff, report.json).
report: Option<PathBuf>JSON receipt, irrespective of filename suffix.
emit: Vec<String>Bundle roles: document,patch,report (primary document always included).
expect: Option<PathBuf>Optional expectation contract, evaluated on the prepared primary
before publication (PlanV2 requests only; use jubarte check for a
standalone pass over a published output).
expect_sha256: Option<String>Redundant source digest must agree with a plan’s embedded digest.
dry_run: boolPrepare and validate the actual candidate; write no files.
require_change: boolRequire a primary document change, independently of derived artifacts.
force: boolReplace an explicitly named existing output; never overwrite an input.
keep_others: boolRefuse to accept or reject another author’s tracked change, and to delete, resolve, reopen or reword their comment. Restore, strike, a comment and a reply stay allowed. JUBARTE_KEEP_OTHERS=1 sets the same guard. Another author is anyone other than –author (Jubarte when –author is left out).
json: boolOne result envelope, including empty results and refusals.
jsonl: boolHeader and exactly one terminal result.
Trait Implementations§
Source§impl Args for DeliveryOptions
impl Args for DeliveryOptions
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for DeliveryOptions
impl Debug for DeliveryOptions
Source§impl FromArgMatches for DeliveryOptions
impl FromArgMatches for DeliveryOptions
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.