mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-08-07 01:33:52 +00:00
feat: implement idx-cli MVP foundation, provider abstraction, and core quote/history commands
This commit is contained in:
parent
a4b8a1b64e
commit
2174b42cff
18 changed files with 2678 additions and 0 deletions
15
src/cli/config.rs
Normal file
15
src/cli/config.rs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue