pace-rs 0.15.2

pace - Mindful Time Tracking: Simplify Your Focus and Boost Productivity Effortlessly.
Documentation
//! `settings` subcommand

/// Getters for the `settings` subcommand
pub mod get;
/// Setters for the `settings` subcommand
pub mod set;

use abscissa_core::{Command, Runnable};
use clap::{Parser, Subcommand};

/// `settings` (sub-) subcommand
#[derive(Subcommand, Command, Debug, Runnable)]
pub enum SettingsSubCmd {
    /// Set values in the pace configuration
    #[clap(visible_alias = "s")]
    Set(set::SetChoiceCmd),

    /// Get values from the pace configuration
    #[clap(visible_alias = "g")]
    Get(get::GetChoiceCmd),
}

/// `settings` subcommand
#[derive(Command, Debug, Parser, Runnable)]
pub struct SettingsCmd {
    #[clap(subcommand)]
    commands: SettingsSubCmd,
}

// `pace settings`