mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 22:47:56 +00:00
acb66f0699
* Restructure node-template so it is clear that node, runtime, and pallets are separated * Separating to mock and tests * restructuring runtime to top-level * updated release script * updated Cargo.lock
26 lines
528 B
Rust
26 lines
528 B
Rust
//! Substrate Node Template CLI library.
|
|
#![warn(missing_docs)]
|
|
|
|
mod chain_spec;
|
|
#[macro_use]
|
|
mod service;
|
|
mod cli;
|
|
mod command;
|
|
|
|
pub use sc_cli::{VersionInfo, error};
|
|
|
|
fn main() -> Result<(), error::Error> {
|
|
let version = VersionInfo {
|
|
name: "Substrate Node",
|
|
commit: env!("VERGEN_SHA_SHORT"),
|
|
version: env!("CARGO_PKG_VERSION"),
|
|
executable_name: "node-template",
|
|
author: "Anonymous",
|
|
description: "Template Node",
|
|
support_url: "support.anonymous.an",
|
|
copyright_start_year: 2017,
|
|
};
|
|
|
|
command::run(version)
|
|
}
|