allow timeline manipulation from plm

This commit is contained in:
trinity-1686a
2022-12-16 22:51:14 +01:00
parent 620726cc25
commit 1536a6d3f3
14 changed files with 373 additions and 98 deletions
+5
View File
@@ -6,6 +6,7 @@ use std::io::{self, prelude::*};
mod instance;
mod migration;
mod search;
mod timeline;
mod users;
fn main() {
@@ -16,6 +17,7 @@ fn main() {
.subcommand(instance::command())
.subcommand(migration::command())
.subcommand(search::command())
.subcommand(timeline::command())
.subcommand(users::command());
let matches = app.clone().get_matches();
@@ -37,6 +39,9 @@ fn main() {
("search", Some(args)) => {
search::run(args, &conn.expect("Couldn't connect to the database."))
}
("timeline", Some(args)) => {
timeline::run(args, &conn.expect("Couldn't connect to the database."))
}
("users", Some(args)) => {
users::run(args, &conn.expect("Couldn't connect to the database."))
}