pub struct ExportReflectionsArgs {
pub namespace: Option<String>,
pub out_dir: Option<PathBuf>,
pub format: String,
pub since: Option<String>,
pub quiet: bool,
}Expand description
CLI args for ai-memory export-reflections.
Fields§
§namespace: Option<String>Restrict the export to reflections under this namespace.
When omitted, every reflection memory is exported (one
subdirectory per namespace under --out-dir).
out_dir: Option<PathBuf>Output directory root. Defaults to ~/.ai-memory/reflections/.
The directory is created if it does not exist.
format: StringExport format. md (default) writes a YAML-frontmatter
markdown file per reflection. json writes a structured
JSON envelope per reflection.
since: Option<String>Only export reflections created at or after this RFC3339 instant. Pre-existing reflections are skipped.
quiet: boolSuppress per-file output; only emit the final count line.
Trait Implementations§
Source§impl Args for ExportReflectionsArgs
impl Args for ExportReflectionsArgs
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
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for ExportReflectionsArgs
impl Clone for ExportReflectionsArgs
Source§fn clone(&self) -> ExportReflectionsArgs
fn clone(&self) -> ExportReflectionsArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExportReflectionsArgs
impl Debug for ExportReflectionsArgs
Source§impl FromArgMatches for ExportReflectionsArgs
impl FromArgMatches for ExportReflectionsArgs
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>
Assign values from
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>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for ExportReflectionsArgs
impl RefUnwindSafe for ExportReflectionsArgs
impl Send for ExportReflectionsArgs
impl Sync for ExportReflectionsArgs
impl Unpin for ExportReflectionsArgs
impl UnsafeUnpin for ExportReflectionsArgs
impl UnwindSafe for ExportReflectionsArgs
Blanket Implementations§
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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>
Converts
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>
Converts
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 more