add field in watchArg

This commit is contained in:
panpansuannai 2021-04-24 17:01:47 +08:00
parent 54804e344d
commit ea4b8ade51

View file

@ -56,7 +56,11 @@ struct VerifyArgs {}
#[derive(FromArgs, PartialEq, Debug)]
#[argh(subcommand, name = "watch")]
/// Reruns `verify` when files were edited
struct WatchArgs {}
struct WatchArgs {
#[argh(positional)]
/// the name of the exercise at which start to watch
name: String
}
#[derive(FromArgs, PartialEq, Debug)]
#[argh(subcommand, name = "run")]