Align with Go CLI by integrating sync into export workflow. Update CLAUDE.md to prevent default template usage in commits. Co-Authored-By: Claude <noreply@anthropic.com>
26 lines
521 B
Rust
26 lines
521 B
Rust
use clap::{Parser, Subcommand};
|
|
|
|
pub mod account;
|
|
pub mod export;
|
|
pub mod version;
|
|
|
|
#[derive(Parser)]
|
|
#[command(name = "ente")]
|
|
#[command(about = "CLI tool for exporting your photos from ente.io", long_about = None)]
|
|
pub struct Cli {
|
|
#[command(subcommand)]
|
|
pub command: Commands,
|
|
}
|
|
|
|
#[derive(Subcommand)]
|
|
pub enum Commands {
|
|
/// Manage account settings
|
|
Account(account::AccountCommand),
|
|
|
|
/// Export photos and files
|
|
Export(export::ExportCommand),
|
|
|
|
/// Print version information
|
|
Version,
|
|
}
|