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