diff --git a/src/anchor_references/cli.md b/src/anchor_references/cli.md index b8e47c8..3dd97ea 100644 --- a/src/anchor_references/cli.md +++ b/src/anchor_references/cli.md @@ -23,6 +23,7 @@ SUBCOMMANDS: init Initializes a workspace migrate Runs the deploy migration script new Creates a new program + shell Starts a node shell with an Anchor client setup according to the local config test Runs integration tests against a localnetwork upgrade Upgrades a single program. The configured wallet must be the upgrade authority verify Verifies the on-chain bytecode matches the locally compiled artifact. Run this @@ -200,6 +201,14 @@ anchor new Creates a new program in the workspace's `programs/` directory initialized with boilerplate. +## Shell + +``` +anchor shell +``` + +Starts a node js shell with an Anchor client setup according to the local config. This client can be used to interact with deployed Solana programs in the workspace. + ## Test ```