Skip to content

Commit

Permalink
cli: Add short alias for idl build command (#3283)
Browse files Browse the repository at this point in the history
  • Loading branch information
acheroncrypto authored Sep 26, 2024
1 parent ef542f5 commit cf81636
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ The minor version will be incremented upon a breaking change and the patch versi
- cli: Always convert IDLs ([#3265](https://github.com/coral-xyz/anchor/pull/3265)).
- cli: Check whether the `idl-build` feature exists when using the `idl build` command ([#3273](https://github.com/coral-xyz/anchor/pull/3273)).
- cli: Build IDL if there is only one program when using the `idl build` command ([#3275](https://github.com/coral-xyz/anchor/pull/3275)).
- cli: Add short alias for the `idl build` command ([#3283](https://github.com/coral-xyz/anchor/pull/3283)).

### Fixes

Expand Down
1 change: 1 addition & 0 deletions cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ pub enum IdlCommand {
program_id: Pubkey,
},
/// Generates the IDL for the program using the compilation method.
#[clap(alias = "b")]
Build {
// Program name to build the IDL of(current dir's program if not specified)
#[clap(short, long)]
Expand Down

0 comments on commit cf81636

Please sign in to comment.