mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-22 06:14:38 +00:00
Start adding CLI tests
This commit is contained in:
@@ -6,7 +6,7 @@ use std::path::PathBuf;
|
||||
use types::EthSpec;
|
||||
use validators::create_validators::write_to_json_file;
|
||||
|
||||
mod validators;
|
||||
pub mod validators;
|
||||
|
||||
pub const CMD: &str = "validator_manager";
|
||||
|
||||
|
||||
@@ -181,7 +181,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
|
||||
|
||||
/// The CLI arguments are parsed into this struct before running the application. This step of
|
||||
/// indirection allows for testing the underlying logic without needing to parse CLI arguments.
|
||||
#[derive(Clone, Serialize, Deserialize)]
|
||||
#[derive(Clone, PartialEq, Serialize, Deserialize)]
|
||||
pub struct CreateConfig {
|
||||
pub output_path: PathBuf,
|
||||
pub first_index: u32,
|
||||
|
||||
Reference in New Issue
Block a user