We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f14b7c0 commit 98b9408Copy full SHA for 98b9408
src/cli.rs
@@ -1,7 +1,7 @@
1
//! Command line interface
2
+use clap::Parser;
3
use std::path::{Path, PathBuf};
4
use std::str::FromStr;
-use clap::Parser;
5
6
/// Markdown shell pre-processor.
7
/// Never let your READMEs and tutorials get out of sync again.
src/main.rs
@@ -6,10 +6,10 @@ use std::io::prelude::*;
use std::io::{self, ErrorKind, Write};
use std::process::{Command, Output, Stdio};
8
9
10
use difference::Changeset;
11
use mdsh::cli::{FileArg, Opt, Parent};
12
use regex::{Captures, Regex};
13
14
fn run_command(command: &str, work_dir: &Parent) -> Output {
15
let mut cli = Command::new("bash");
0 commit comments