CLI option to enable authoring when offline (#2104)

* CLI option to enable authoring when offline

* Update core/service/src/config.rs

Co-Authored-By: arkpar <arkady.paronyan@gmail.com>
This commit is contained in:
Arkadiy Paronyan
2019-03-25 11:28:35 +01:00
committed by GitHub
parent 44db5f44e3
commit c6addc9bd5
7 changed files with 31 additions and 3 deletions
+4
View File
@@ -325,6 +325,10 @@ pub struct RunCmd {
#[allow(missing_docs)]
#[structopt(flatten)]
pub keyring: Keyring,
/// Enable authoring even when offline.
#[structopt(long = "force-authoring")]
pub force_authoring: bool,
}
/// Stores all required Cli values for a keyring test account.