diff --git a/gateway/src/commands/init.rs b/gateway/src/commands/init.rs index 888663563d..7e469cc116 100644 --- a/gateway/src/commands/init.rs +++ b/gateway/src/commands/init.rs @@ -104,6 +104,14 @@ pub fn command_args<'a, 'b>() -> clap::App<'a, 'b> { ) } +fn show_incentives_url() { + println!("\n##### NOTE #####"); + println!( + "\nIf you would like to join our testnet incentives program, please visit https://nymtech.net/incentives" + ); + println!("\n\n"); +} + pub fn execute(matches: &ArgMatches) { let id = matches.value_of("id").unwrap(); println!("Initialising gateway {}...", id); @@ -141,5 +149,7 @@ pub fn execute(matches: &ArgMatches) { .expect("Failed to save the config file"); println!("Saved configuration file to {:?}", config_save_location); - println!("Gateway configuration completed.\n\n\n") + println!("Gateway configuration completed.\n\n\n"); + + show_incentives_url(); } diff --git a/mixnode/src/commands/init.rs b/mixnode/src/commands/init.rs index fb2d973e76..8412471256 100644 --- a/mixnode/src/commands/init.rs +++ b/mixnode/src/commands/init.rs @@ -74,6 +74,14 @@ pub fn command_args<'a, 'b>() -> clap::App<'a, 'b> { ) } +fn show_incentives_url() { + println!("\n##### NOTE #####"); + println!( + "\nIf you would like to join our testnet incentives program, please visit https://nymtech.net/incentives" + ); + println!("\n\n"); +} + pub fn execute(matches: &ArgMatches) { let id = matches.value_of("id").unwrap(); println!("Initialising mixnode {}...", id); @@ -102,5 +110,7 @@ pub fn execute(matches: &ArgMatches) { .expect("Failed to save the config file"); println!("Saved configuration file to {:?}", config_save_location); - println!("Mixnode configuration completed.\n\n\n") + println!("Mixnode configuration completed.\n\n\n"); + + show_incentives_url(); }