Skip to content
Snippets Groups Projects
Commit a84468b8 authored by Seemant Aggarwal's avatar Seemant Aggarwal
Browse files

adding rustdoc

parent b95b51e7
No related merge requests found
Pipeline #517465 waiting for manual action with stages
in 38 minutes and 58 seconds
......@@ -56,6 +56,8 @@ pub struct ExportChainSpecCmd {
}
impl ExportChainSpecCmd {
/// Run the export-chain-spec command
pub fn run(&self, spec: &Box<dyn ChainSpec>) -> Result<()> {
let json = chain_ops::build_spec(spec.as_ref(), self.raw)?;
if let Some(ref path) = self.output {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment