aboutsummaryrefslogtreecommitdiff
path: root/tool/src/migrate.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-04-16 18:15:47 +0200
committermetamuffin <metamuffin@disroot.org>2024-04-16 18:15:47 +0200
commitddf52f02d66abfee17a4105503220a9a34064f29 (patch)
treebb01d20ef9daea32730b98af8b159e87eea15704 /tool/src/migrate.rs
parent783198703569dd1d1c17f2b3a40a62f20a6f8a44 (diff)
downloadjellything-ddf52f02d66abfee17a4105503220a9a34064f29.tar
jellything-ddf52f02d66abfee17a4105503220a9a34064f29.tar.bz2
jellything-ddf52f02d66abfee17a4105503220a9a34064f29.tar.zst
jellytool completion generator
Diffstat (limited to 'tool/src/migrate.rs')
-rw-r--r--tool/src/migrate.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/src/migrate.rs b/tool/src/migrate.rs
index cb7647e..0412430 100644
--- a/tool/src/migrate.rs
+++ b/tool/src/migrate.rs
@@ -3,7 +3,7 @@
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2024 metamuffin <metamuffin.org>
*/
-use crate::{Action, MigrateMode};
+use crate::cli::{Action, MigrateMode};
use anyhow::{bail, Context};
use indicatif::ProgressIterator;
use jellybase::database::redb::ReadableTableMetadata;
@@ -90,7 +90,7 @@ use std::{
// }
// }
-pub(crate) fn migrate(action: Action) -> anyhow::Result<()> {
+pub fn migrate(action: Action) -> anyhow::Result<()> {
match action {
Action::Migrate {
mode,