From 522b326b04fcaf4232f7b3b829b1df1fcf9ffab2 Mon Sep 17 00:00:00 2001 From: acheron <98934430+acheroncrypto@users.noreply.github.com> Date: Mon, 28 Oct 2024 00:17:10 +0100 Subject: [PATCH] docs: Add `idl build` command documentation (#3335) --- docs/src/pages/docs/cli.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/src/pages/docs/cli.md b/docs/src/pages/docs/cli.md index 79a69df3e7..c89602f627 100644 --- a/docs/src/pages/docs/cli.md +++ b/docs/src/pages/docs/cli.md @@ -125,6 +125,14 @@ It's recommended to use these commands to store an IDL on chain, at a determinis address, as a function of nothing but the program's ID. This allows us to generate clients for a program using nothing but the program ID. +### Idl Build + +```shell +anchor idl build +``` + +Generates the IDL for the program using the compilation method. + ### Idl Init ```shell