@@ -10,28 +10,40 @@ The `modal` command-line tool is your interface to Modality.
1010## Installation
1111
1212``` bash
13- # macOS/Linux
14- curl -fsSL https://get.modality.org | sh
13+ # First-contract onboarding wrapper
14+ cd rust
15+ cargo build --release -p modal --no-default-features --features contract-onboarding
1516
16- # Or build from source
17- cd rust && cargo build --release
17+ # Language/model CLI used by the first-contract guide
18+ cargo build --release -p modality
1819```
1920
21+ The lean onboarding wrapper exposes the contract and identity surfaces needed by
22+ the first-contract guide: ` modal contract ` , ` modal c ` , ` modal id ` ,
23+ ` modal passfile ` , ` modal status ` , ` modal commit ` , and ` modal set ` . It omits the
24+ runtime-heavy hub, node, network, predicate, program, chain, local, run,
25+ ` killall ` , and upgrade surfaces.
26+
27+ Build the full wrapper with ` cargo build --release -p modal ` when you need those
28+ broader command groups. Use ` modality ` for model and rule authoring tasks such
29+ as ` modality model lint ` , ` modality model synthesize ` , and
30+ ` modality model validate ` .
31+
2032## Command Groups
2133
2234| Command | Alias | Description |
2335| ---------| -------| -------------|
2436| ` modal contract ` | ` modal c ` | Contract management (create, commit, push, pull) |
2537| ` modal id ` | ` modal identity ` | Identity management (create, derive, get) |
2638| ` modal passfile ` | — | Passfile encryption/decryption |
27- | ` modal hub ` | — | Contract hub server and collaboration |
28- | ` modal predicate ` | — | Predicate listing and testing |
29- | ` modal program ` | — | Program management |
30- | ` modal node ` | — | Network node operations |
31- | ` modal net ` | ` modal network ` | Network information |
32- | ` modal local ` | — | Local development utilities |
33- | ` modal run ` | — | Quick node runners |
34- | ` modal chain ` | — | Chain validation |
39+ | ` modal hub ` | — | Contract hub server and collaboration; full wrapper only |
40+ | ` modal predicate ` | — | Predicate listing and testing; full wrapper only |
41+ | ` modal program ` | — | Program management; full wrapper only |
42+ | ` modal node ` | — | Network node operations; full wrapper only |
43+ | ` modal net ` | ` modal network ` | Network information; full wrapper only |
44+ | ` modal local ` | — | Local development utilities; full wrapper only |
45+ | ` modal run ` | — | Quick node runners; full wrapper only |
46+ | ` modal chain ` | — | Chain validation; full wrapper only |
3547
3648## Global Commands
3749
@@ -47,10 +59,10 @@ modal <command> --help
4759# Show status (in contract directory)
4860modal status
4961
50- # Kill all local nodes
62+ # Kill all local nodes (full wrapper only)
5163modal killall
5264
53- # Upgrade to latest version
65+ # Upgrade to latest version (full wrapper only)
5466modal upgrade
5567```
5668
0 commit comments