mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2025-09-09 23:58:42 +00:00
Format codebase with rustfmt
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
// src/cli.rs
|
||||
|
||||
pub mod link;
|
||||
pub mod annotate;
|
||||
pub mod coll;
|
||||
pub mod view;
|
||||
pub mod event;
|
||||
pub mod link;
|
||||
pub mod remind;
|
||||
pub mod state;
|
||||
pub mod task;
|
||||
pub mod remind;
|
||||
pub mod annotate;
|
||||
pub mod version;
|
||||
pub mod event;
|
||||
pub mod view;
|
||||
pub mod watch;
|
||||
|
||||
use clap::{Parser, Subcommand, ValueEnum};
|
||||
@@ -77,9 +77,7 @@ pub enum Commands {
|
||||
Backup,
|
||||
|
||||
/// Restore from a backup file (overwrites current DB)
|
||||
Restore {
|
||||
backup_path: std::path::PathBuf,
|
||||
},
|
||||
Restore { backup_path: std::path::PathBuf },
|
||||
|
||||
/// Generate shell completions (hidden)
|
||||
#[command(hide = true)]
|
||||
@@ -132,6 +130,12 @@ pub enum Commands {
|
||||
|
||||
#[derive(Subcommand, Debug)]
|
||||
pub enum AttrCmd {
|
||||
Set { pattern: String, key: String, value: String },
|
||||
Ls { path: std::path::PathBuf },
|
||||
Set {
|
||||
pattern: String,
|
||||
key: String,
|
||||
value: String,
|
||||
},
|
||||
Ls {
|
||||
path: std::path::PathBuf,
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user