/* * SPDX-FileCopyrightText: 2024 Eilertsens Kodeknekkeri * SPDX-FileCopyrightText: 2024 Harald Eilertsen * * SPDX-License-Identifier: AGPL-3.0-or-later */ use zotapi::ZotApi; use std::error::Error; pub struct ChannelExportCmd { } impl ChannelExportCmd { pub async fn run(&self, client: ZotApi) -> Result<(), Box> { println!("{}", client.channel_export().await?); Ok(()) } }