mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 06:08:00 +00:00
Metadata difference command (#1015)
* diffing pallets and runtime apis * print diff * clippy fix and format * change formatting * fmt * diff working with storage details * fix diff * cargo fmt * remove printing of node * change strings * handle parsing differently * clippy fix * cargo fmt * more abstraction * clippy fix and fmt * add unit test and ordering * fix small issue
This commit is contained in:
@@ -15,6 +15,7 @@ enum Command {
|
||||
Metadata(commands::metadata::Opts),
|
||||
Codegen(commands::codegen::Opts),
|
||||
Compatibility(commands::compatibility::Opts),
|
||||
Diff(commands::diff::Opts),
|
||||
Version(commands::version::Opts),
|
||||
Explore(commands::explore::Opts),
|
||||
}
|
||||
@@ -28,6 +29,7 @@ async fn main() -> color_eyre::Result<()> {
|
||||
Command::Metadata(opts) => commands::metadata::run(opts, &mut output).await,
|
||||
Command::Codegen(opts) => commands::codegen::run(opts, &mut output).await,
|
||||
Command::Compatibility(opts) => commands::compatibility::run(opts, &mut output).await,
|
||||
Command::Diff(opts) => commands::diff::run(opts, &mut output).await,
|
||||
Command::Version(opts) => commands::version::run(opts, &mut output),
|
||||
Command::Explore(opts) => commands::explore::run(opts, &mut output).await,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user