Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

Merge pull request #340 from grantlemons/span-view-modifications

Elijah Potter6701c012baee
diff --cc harper-cli/src/main.rs
index 843457c7b,21655852e..a209e41cc
--- a/harper-cli/src/main.rs
+++ b/harper-cli/src/main.rs
@@@ -30,10 -30,11 +30,13 @@@ enum Args
Spans {
/// The file you wish to display the spans.
file: PathBuf,
+ /// Include newlines in the output
+ #[arg(short, long)]
+ include_newlines: bool,
},
- /// Emit decompressed, line-separated list of words in Harper's dictionary.
+ /// Get the metadata associated with a particular word.
+ Metadata { word: String },
+ /// Emit a decompressed, line-separated list of the words in Harper's dictionary.
Words,
}