Added shell command to CLI reference (#78)
Co-authored-by: Paul Schaaf <paulsimonschaaf@gmail.com>
This commit is contained in:
parent
65b33d962e
commit
0466b036aa
|
@ -23,6 +23,7 @@ SUBCOMMANDS:
|
||||||
init Initializes a workspace
|
init Initializes a workspace
|
||||||
migrate Runs the deploy migration script
|
migrate Runs the deploy migration script
|
||||||
new Creates a new program
|
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
|
test Runs integration tests against a localnetwork
|
||||||
upgrade Upgrades a single program. The configured wallet must be the upgrade authority
|
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
|
verify Verifies the on-chain bytecode matches the locally compiled artifact. Run this
|
||||||
|
@ -200,6 +201,14 @@ anchor new <program-name>
|
||||||
|
|
||||||
Creates a new program in the workspace's `programs/` directory initialized with boilerplate.
|
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
|
## Test
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue