@@ -8,7 +8,7 @@ use crate::{
8
8
commands:: {
9
9
config_cmd, debug_cmd, dump_genesis, import, init_cmd, init_state,
10
10
node:: { self , NoArgs } ,
11
- p2p, prune, recover, stage, test_vectors ,
11
+ p2p, prune, recover, stage,
12
12
} ,
13
13
version:: { LONG_VERSION , SHORT_VERSION } ,
14
14
} ;
@@ -161,6 +161,7 @@ impl<Ext: clap::Args + fmt::Debug> Cli<Ext> {
161
161
Commands :: Db ( command) => runner. run_blocking_until_ctrl_c ( command. execute ( ) ) ,
162
162
Commands :: Stage ( command) => runner. run_command_until_exit ( |ctx| command. execute ( ctx) ) ,
163
163
Commands :: P2P ( command) => runner. run_until_ctrl_c ( command. execute ( ) ) ,
164
+ #[ cfg( feature = "dev" ) ]
164
165
Commands :: TestVectors ( command) => runner. run_until_ctrl_c ( command. execute ( ) ) ,
165
166
Commands :: Config ( command) => runner. run_until_ctrl_c ( command. execute ( ) ) ,
166
167
Commands :: Debug ( command) => runner. run_command_until_exit ( |ctx| command. execute ( ctx) ) ,
@@ -214,8 +215,9 @@ pub enum Commands<Ext: clap::Args + fmt::Debug = NoArgs> {
214
215
#[ command( name = "p2p" ) ]
215
216
P2P ( p2p:: Command ) ,
216
217
/// Generate Test Vectors
218
+ #[ cfg( feature = "dev" ) ]
217
219
#[ command( name = "test-vectors" ) ]
218
- TestVectors ( test_vectors:: Command ) ,
220
+ TestVectors ( reth_cli_commands :: test_vectors:: Command ) ,
219
221
/// Write config to stdout
220
222
#[ command( name = "config" ) ]
221
223
Config ( config_cmd:: Command ) ,
0 commit comments