shank-gov-cli

Crates.ioshank-gov-cli
lib.rsshank-gov-cli
version0.3.4
sourcesrc
created_at2024-01-23 09:17:15.636323
updated_at2024-01-23 12:53:26.727246
descriptionShank CLI that extracts solita compatible IDL from your Rust Solana program code annotated with shank macro attributes
homepage
repositoryhttps://github.com/metaplex-foundation/shank
max_upload_size
id1110576
size25,670
Utkarsh (0xShuk)

documentation

README

shank

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.

shank-logo

Installation

Via Cargo

cargo install shank-cli

Via Yarn/Npm

_Coming soon ... _

Overview

USAGE:
    shank <SUBCOMMAND>

OPTIONS:
    -h, --help    Print help information

SUBCOMMANDS:
    help    Print this message or the help of the given subcommand(s)
    idl

IDL Extraction

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

LICENSE

Apache-2.0

Commit count: 91

cargo fmt