cloud_terrastodon_entrypoint 0.35.0

Main entrypoint for the Cloud Terrastodon CLI
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use clap::Args;
use cloud_terrastodon_ui_ratatui::ui_main;
use eyre::Result;

/// Launch the Ratatui-based interface.
#[derive(Args, Debug, Clone, Default)]
pub struct RatatuiArgs;

impl RatatuiArgs {
    pub async fn invoke(self) -> Result<()> {
        ui_main().await?;
        Ok(())
    }
}