pub struct Args {
pub paths: Vec<String>,
pub files_from: Option<String>,
pub write: bool,
pub json: bool,
pub fail_on_change: bool,
pub ignore_file: Option<String>,
pub exclude: Vec<String>,
}Expand description
The parsed command line.
Fields§
§paths: Vec<String>Markdown files to inspect.
files_from: Option<String>Read additional newline-delimited paths from this file.
write: boolRewrite files in place instead of only reporting.
json: boolEmit a machine-readable summary.
fail_on_change: boolExit non-zero when any file changed or would change.
ignore_file: Option<String>Read ignore patterns from here instead of ./.unwrapignore.
exclude: Vec<String>Skip paths matching these globs.
Trait Implementations§
impl Eq for Args
impl StructuralPartialEq for Args
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
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