stat page and cache working
This commit is contained in:
@@ -25,6 +25,8 @@ enum Commands {
|
||||
},
|
||||
/// Watch for changes in the posts directory
|
||||
Watch,
|
||||
/// Show Rust parser statistics
|
||||
Rsparseinfo,
|
||||
}
|
||||
|
||||
fn main() {
|
||||
@@ -65,5 +67,8 @@ fn main() {
|
||||
std::thread::sleep(std::time::Duration::from_secs(60));
|
||||
}
|
||||
}
|
||||
Commands::Rsparseinfo => {
|
||||
println!("{}", markdown::rsparseinfo());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user