Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion docs/src/pages/docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ anchor build

Builds programs in the workspace targeting Solana's BPF runtime and emitting IDLs in the `target/idl` directory.


```shell
anchor build --skip-lint
```
Expand Down Expand Up @@ -221,6 +220,23 @@ Initializes a project workspace with the following structure.
- `tests/`: Directory for JavaScript integration tests.
- `migrations/deploy.js`: Deploy script.

```shell
anchor init --template multiple
```

Creates a more structured program project template (rather than only a single `lib.rs` file):

```
├── constants.rs
├── error.rs
├── instructions
│   ├── initialize.rs
│   └── mod.rs
├── lib.rs
└── state
└── mod.rs
```

## Keys

Program keypair commands.
Expand Down