Added purge subcommand to purge beacon chain db (#971)

This commit is contained in:
ethDreamer
2020-04-13 20:45:02 -04:00
committed by GitHub
parent 869b0621d6
commit 065ea15c9f
4 changed files with 94 additions and 4 deletions

View File

@@ -309,4 +309,12 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
.help("A file from which to read the state"))
)
)
/*
* The "purge" sub-command.
*
* Allows user to purge beacon database
*/
.subcommand(SubCommand::with_name("purge")
.about("Purge the beacon chain database.")
)
}