refactor code
This commit is contained in:
parent
5c86d4e899
commit
0d931a143e
4 changed files with 10 additions and 1 deletions
|
@ -1 +1 @@
|
|||
mod token;
|
||||
|
||||
|
|
|
@ -18,4 +18,12 @@ pub struct CliArgs {
|
|||
/// The current consumer name
|
||||
#[arg(short = 'n', long)]
|
||||
pub redis_consumer_name: String,
|
||||
|
||||
/// The bluesky bot user's handle.
|
||||
#[arg(short = 'h', long)]
|
||||
pub bluesky_handle: String,
|
||||
|
||||
/// The bluesky bot user's password.
|
||||
#[arg(short = 'p', long)]
|
||||
pub bluesky_password: String
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@ use std::thread;
|
|||
|
||||
mod bluesky;
|
||||
mod cli;
|
||||
mod token;
|
||||
|
||||
//noinspection DuplicatedCode
|
||||
/// Sets up a signal handler in a separate thread to handle SIGINT and SIGTERM signals.
|
||||
|
|
Loading…
Reference in a new issue