Compare commits
2 Commits
db292c2fd1
...
f6afc959c8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f6afc959c8 | ||
|
|
b86e46fe00 |
@@ -18,7 +18,3 @@ irc = "1.1"
|
|||||||
tokio = { version = "1", features = [ "full" ] }
|
tokio = { version = "1", features = [ "full" ] }
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
tracing-subscriber = "0.3"
|
tracing-subscriber = "0.3"
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
lto = true
|
|
||||||
strip = true
|
|
||||||
|
|||||||
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