mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 07:01:05 +00:00
Improve documentation (#449)
* cli: Remove whitespaces from readme Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * cli: Fix typo Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * subxt: Modify codegen path Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * subxt: Remove rustfmt arguments Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * cli: Update Readme Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * examples: Fix typo Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * subxt: Add Hash for WrapperKeepOpaque and PhantomDataSendSync Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
+7
-7
@@ -7,10 +7,10 @@ USAGE:
|
||||
subxt <SUBCOMMAND>
|
||||
|
||||
FLAGS:
|
||||
-h, --help
|
||||
-h, --help
|
||||
Prints help information
|
||||
|
||||
-V, --version
|
||||
-V, --version
|
||||
Prints version information
|
||||
|
||||
|
||||
@@ -37,9 +37,9 @@ OPTIONS:
|
||||
|
||||
## Codegen
|
||||
|
||||
Use to invoke the `subxt-codegen` crate which is used by `subxt-macro` to generate the the runtime API and types. Useful
|
||||
for troubleshooting codegen as an alternative to `cargo expand`, and also provides the possibility of customizing the
|
||||
generated code if the macro does not produce the desired API. e.g.
|
||||
Use to invoke the `subxt-codegen` crate which is used by `subxt-macro` to generate the runtime API and types. Useful
|
||||
for troubleshooting codegen as an alternative to `cargo expand`, and also provides the possibility to customize the
|
||||
generated code if the macro does not produce the desired API. e.g.
|
||||
|
||||
`subxt codegen | rustfmt --edition=2018 --emit=stdout`
|
||||
|
||||
@@ -48,10 +48,10 @@ USAGE:
|
||||
subxt codegen [OPTIONS]
|
||||
|
||||
OPTIONS:
|
||||
-f, --file <file>
|
||||
-f, --file <file>
|
||||
the path to the encoded metadata file
|
||||
|
||||
--url <url>
|
||||
--url <url>
|
||||
the url of the substrate node to query for metadata for codegen
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user