Files
ente/rust/src/cli/mod.rs
Manav Rathi 8e3f6e56d2 feat(rust): Remove sync command to match Go CLI interface
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>
2025-08-27 16:51:04 +05:30

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,
}