Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ja573 committed Jan 28, 2025
1 parent d624050 commit d5ff24b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/bin/thoth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ fn main() -> thoth::errors::ThothResult<()> {
Some(("export-api", arguments)) => commands::start::export_api(arguments),
_ => unreachable!(),
},
Some(("migrate", aguments)) => commands::migrate(aguments),
Some(("migrate", arguments)) => commands::migrate(arguments),
Some(("init", arguments)) => {
commands::run_migrations(arguments)?;
commands::start::graphql_api(arguments)
}
Some(("account", aguments)) => match aguments.subcommand() {
Some(("register", _)) => commands::account::register(aguments),
Some(("publishers", _)) => commands::account::publishers(aguments),
Some(("password", _)) => commands::account::password(aguments),
Some(("account", arguments)) => match arguments.subcommand() {
Some(("register", _)) => commands::account::register(arguments),
Some(("publishers", _)) => commands::account::publishers(arguments),
Some(("password", _)) => commands::account::password(arguments),
_ => unreachable!(),
},
Some(("cache", aguments)) => match aguments.subcommand() {
Some(("delete", _)) => commands::cache::delete(aguments),
Some(("cache", arguments)) => match arguments.subcommand() {
Some(("delete", _)) => commands::cache::delete(arguments),
_ => unreachable!(),
},
_ => unreachable!(),
Expand Down

0 comments on commit d5ff24b

Please sign in to comment.