Skip to content

Commit 80ffdf7

Browse files
committed
docs: add CLI build and run instructions to README
1 parent 7bbca97 commit 80ffdf7

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,30 @@ cd ui
2929
dx serve --platform desktop
3030
```
3131

32+
**Build the CLI:**
33+
34+
With Cargo:
35+
```bash
36+
cd cli
37+
cargo build --release
38+
./target/release/datum-connect --help
39+
```
40+
41+
With Nix:
42+
```bash
43+
nix build .#cli
44+
./result/bin/datum-connect --help
45+
```
46+
3247
**Run the CLI:**
3348

49+
With Cargo:
3450
```bash
3551
cd cli
36-
cargo run -- --help
52+
cargo run -- tunnel --help
53+
```
54+
55+
With Nix:
56+
```bash
57+
nix run .#cli -- tunnel --help
3758
```

0 commit comments

Comments
 (0)