Skip to content

Commit b856020

Browse files
committed
New version
1 parent fc552ec commit b856020

22 files changed

+839
-851
lines changed

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ license = "MIT"
1616
name = "subwasm"
1717
readme = "README.md"
1818
repository = "https://github.com/chevdor/subwasm"
19-
version = "0.19.0"
19+
version = "0.19.1"
2020

2121
[dependencies]
2222
assert_cmd = "2.0"

doc/usage.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
`subwasm` allows fetching, parsing and calling some methods on WASM runtimes of Substrate based chains
22

3-
Usage: subwasm [OPTIONS] <COMMAND>
3+
Usage: subwasm [OPTIONS] [COMMAND]
44

55
Commands:
66
get Get/Download the runtime wasm from a running node through rpc
@@ -15,5 +15,5 @@ Commands:
1515
Options:
1616
-j, --json Output as json
1717
-q, --quiet Less output
18+
-v, --version Show the version
1819
-h, --help Print help
19-
-V, --version Print version

doc/usage_compress.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ Arguments:
77
<OUTPUT> The path of the file where the compressed runtime will be stored
88

99
Options:
10-
-j, --json Output as json
11-
-h, --help Print help
12-
-V, --version Print version
10+
-j, --json Output as json
11+
-h, --help Print help

doc/usage_decompress.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ Arguments:
77
<OUTPUT> The path of the file where the uncompressed runtime will be stored
88

99
Options:
10-
-j, --json Output as json
11-
-h, --help Print help
12-
-V, --version Print version
10+
-j, --json Output as json
11+
-h, --help Print help

doc/usage_diff.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ Options:
1111
-j, --json Output as json
1212
-b, --chain-b <CHAIN_B> Provide the name of a chain and a random url amongst a list of known nodes will be used. If you pass a valid --chain, --url will be ignored --chain local = http://localhost:9933
1313
-h, --help Print help
14-
-V, --version Print version

doc/usage_get.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ Options:
1111
-b, --block <BLOCK> The optional block where to fetch the runtime. That allows fetching older runtimes but you will need to connect to archive nodes. Currently, you must pass a block hash. Passing the block numbers is not supported
1212
-o, --output <OUTPUT> You may specifiy the output filename where the runtime will be saved. If not provided, we will figure out an appropriate default name based on a counter: runtime_NNN.wasm where NNN is incrementing to make sure you do not override previous runtime. If you specify an existing file as output, it will be overwritten
1313
-h, --help Print help
14-
-V, --version Print version

doc/usage_info.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ Options:
1010
-j, --json Output as json
1111
-b, --block <BLOCK> The optional block where to fetch the runtime. That allows fetching older runtimes but you will need to connect to archive nodes. Currently, you must pass a block hash. Passing the block numbers is not supported
1212
-h, --help Print help
13-
-V, --version Print version

doc/usage_meta.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ Options:
1313
-f, --format <FORMAT> You may specifiy the output format. One of "human", "scale", "json", "json+scale", "hex+scale" [default: human]
1414
-o, --output <OUTPUT> You may specifiy the output filename where the metadata will be saved. Alternatively, you may use `auto` and an appropriate name will be generated according to the `format` your chose
1515
-h, --help Print help
16-
-V, --version Print version

doc/usage_version.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ Options:
1010
-j, --json Output as json
1111
-b, --block <BLOCK> The optional block where to fetch the runtime. That allows fetching older runtimes but you will need to connect to archive nodes. Currently, you must pass a block hash. Passing the block numbers is not supported
1212
-h, --help Print help
13-
-V, --version Print version

0 commit comments

Comments
 (0)