Compare commits
2 Commits
4e9428c376
...
f6afc959c8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f6afc959c8 | ||
|
|
b86e46fe00 |
12
src/setup.rs
12
src/setup.rs
@@ -1,9 +1,15 @@
|
|||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
use color_eyre::{Result, eyre::WrapErr};
|
use color_eyre::{
|
||||||
|
Result,
|
||||||
|
eyre::WrapErr,
|
||||||
|
};
|
||||||
use config::Config;
|
use config::Config;
|
||||||
use directories::ProjectDirs;
|
use directories::ProjectDirs;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use tracing::{info, instrument};
|
use tracing::{
|
||||||
|
info,
|
||||||
|
instrument,
|
||||||
|
};
|
||||||
|
|
||||||
// TODO: use [clap(long, short, help_heading = Some(section))]
|
// TODO: use [clap(long, short, help_heading = Some(section))]
|
||||||
#[derive(Clone, Debug, Parser)]
|
#[derive(Clone, Debug, Parser)]
|
||||||
@@ -32,7 +38,7 @@ pub(crate) struct Args {
|
|||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
pub(crate) model: Option<String>,
|
pub(crate) model: Option<String>,
|
||||||
|
|
||||||
#[arg(long = "channel")]
|
#[arg(long)]
|
||||||
/// List of IRC channels to join.
|
/// List of IRC channels to join.
|
||||||
pub(crate) channels: Option<Vec<String>>,
|
pub(crate) channels: Option<Vec<String>>,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user