aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/zot/command/verify.rs
blob: 5c6432f6689ed33c09ccd813f04ab613ee54b5c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * SPDX-FileCopyrightText: 2024 Eilertsens Kodeknekkeri
 * SPDX-FileCopyrightText: 2024 Harald Eilertsen
 *
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

use std::error::Error;
use zotapi::ZotApi;

pub struct VerifyCmd {
}

impl VerifyCmd {
    pub async fn run(&self, client: ZotApi) -> Result<(), Box<dyn Error + 'static>> {
        let channel = client.verify().await;
        println!("{:?}", channel);

        Ok(())
    }
}