mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-30 22:08:57 -07:00
add basic rayhunter_options endpoint
This commit is contained in:
committed by
Will Greenberg
parent
17a9dfe0ff
commit
30c4cb0e0c
@@ -30,9 +30,11 @@ use crate::output::eprintln;
|
||||
static CONFIG_TOML: &str = include_str!("../../dist/config.toml.in");
|
||||
static RAYHUNTER_DAEMON_INIT: &str = include_str!("../../dist/scripts/rayhunter_daemon");
|
||||
|
||||
// We mark this as public so it can be used by installer-gui to programmatically introspect the
|
||||
// installer's options.
|
||||
#[derive(Parser, Debug)]
|
||||
#[command(version, about)]
|
||||
struct Args {
|
||||
pub struct Args {
|
||||
#[command(subcommand)]
|
||||
command: Command,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user