pub struct MergeArgs {Show 16 fields
pub playset_path: Option<PathBuf>,
pub out: PathBuf,
pub force: bool,
pub no_game_base: bool,
pub include_base: bool,
pub exclude: Vec<String>,
pub gui_scroll_merge: bool,
pub ignore_replace_path: bool,
pub ignore_dep: Vec<IgnoreDepArg>,
pub config: Option<PathBuf>,
pub provenance: bool,
pub confirm: bool,
pub non_interactive: bool,
pub review_all: bool,
pub cli_prompt: bool,
pub jobs: Option<NonZeroUsize>,
}Fields§
§playset_path: Option<PathBuf>§out: PathBuf§force: boolEmit explicit fallbacks for deferred conflicts where supported. Safe units are committed with or without this flag.
no_game_base: boolSkip loading vanilla game files; the lowest-precedence enabled mod is treated as a synthetic base for diff-and-merge.
include_base: boolAlso write unchanged vanilla base-game files into the merged output (off by default; the game already ships them).
exclude: Vec<String>Leave a mod of the current EU4 playset out of the analysis, by
Workshop id or #POSITION as foch input inspect lists them.
Repeatable; only without INPUT_SOURCE. The result does not represent
the full playset.
gui_scroll_merge: boolMerge divergent same-name GUI containers into scroll-stack parents instead of manual conflicts.
ignore_replace_path: boolTreat replace_path declarations as no-ops; merge as if they were absent.
ignore_dep: Vec<IgnoreDepArg>Drop one declared dependency edge from the local merge DAG (format: mod:dep).
config: Option<PathBuf>Load local foch.toml overrides from this file instead of the default search path.
provenance: boolAnnotate merged definitions with their source mods using inline
comments plus .foch/foch-provenance.json and
.foch/foch-merge-trace.json sidecars. Supported GUI controls append
sources to their static tooltips; diplomatic actions expose Base: /
Modified by: in tooltip localisation. Off by default; output is
byte-identical when omitted.
confirm: boolCommit without the review prompt. A non-empty –out still requires a separate TTY overwrite confirmation.
non_interactive: boolDisable TTY-detected prompts. This does not imply –confirm.
review_all: boolShow every review unit. By default, show the first 20 of each disposition, with totals and explicit counts of omitted units.
cli_prompt: boolUse the simple stdin/stderr prompt instead of the ratatui interactive UI.
jobs: Option<NonZeroUsize>Most merge units to analyze at once (default: the detected CPU count). Fewer run while their estimated memory would not fit; results are applied in plan order, so output does not depend on it. Interactive prompts still come in plan order, with the other units paused.
Implementations§
Trait Implementations§
Source§impl Args for MergeArgs
impl Args for MergeArgs
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 CommandFactory for MergeArgs
impl CommandFactory for MergeArgs
impl Eq for MergeArgs
Source§impl FromArgMatches for MergeArgs
impl FromArgMatches for MergeArgs
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.Source§impl Parser for MergeArgs
impl Parser for MergeArgs
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
impl StructuralPartialEq for MergeArgs
Auto Trait Implementations§
impl Freeze for MergeArgs
impl RefUnwindSafe for MergeArgs
impl Send for MergeArgs
impl Sync for MergeArgs
impl Unpin for MergeArgs
impl UnsafeUnpin for MergeArgs
impl UnwindSafe for MergeArgs
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.