cloud_terrastodon_entrypoint 0.36.0

Main entrypoint for the Cloud Terrastodon CLI
pub mod assignment;
pub mod azure_entra_role;
pub mod definition;

pub use assignment::AzureEntraRoleAssignmentArgs;
pub use azure_entra_role::AzureEntraRoleCommand;
use clap::Args;
pub use definition::AzureEntraRoleDefinitionArgs;
use eyre::Result;

/// Manage Entra directory roles.
#[derive(Args, Debug, Clone)]
pub struct AzureEntraRoleArgs {
    #[command(subcommand)]
    pub command: AzureEntraRoleCommand,
}

impl AzureEntraRoleArgs {
    pub async fn invoke(self) -> Result<()> {
        self.command.invoke().await
    }
}