mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-08-07 01:33:52 +00:00
15 lines
286 B
Rust
15 lines
286 B
Rust
use clap::{Args, Subcommand};
|
|
|
|
#[derive(Debug, Args)]
|
|
pub struct ConfigCmd {
|
|
#[command(subcommand)]
|
|
pub command: ConfigSubcommand,
|
|
}
|
|
|
|
#[derive(Debug, Subcommand)]
|
|
pub enum ConfigSubcommand {
|
|
Init,
|
|
Get { key: String },
|
|
Set { key: String, value: String },
|
|
Path,
|
|
}
|