Crates.io | shank-cli |
lib.rs | shank-cli |
version | 0.4.2 |
source | src |
created_at | 2022-03-02 18:15:01.213506 |
updated_at | 2024-02-29 14:35:42.984264 |
description | Shank CLI that extracts solita compatible IDL from your Rust Solana program code annotated with shank macro attributes |
homepage | |
repository | https://github.com/metaplex-foundation/shank |
max_upload_size | |
id | 542463 |
size | 25,260 |
Shank CLI that extracts IDL from your Rust Solana program code annotated with shank macro attributes. This IDL can then be fed to solita in order to generate low level TypeScript SDK for that particular Rust program.
cargo install shank-cli
_Coming soon ... _
USAGE:
shank <SUBCOMMAND>
OPTIONS:
-h, --help Print help information
SUBCOMMANDS:
help Print this message or the help of the given subcommand(s)
idl
USAGE:
shank idl [OPTIONS]
OPTIONS:
-h, --help Print help information
-o, --out-dir <OUT_DIR> Output directory for the IDL JSON [default: idl]
-r, --crate-root <CRATE_ROOT> Directory of program crate for which to generate the IDL
Apache-2.0