Skip to content

Commit f922884

Browse files
[skip ci] Release new versions
1 parent 24279d0 commit f922884

21 files changed

Lines changed: 7655 additions & 23 deletions

File tree

.changeset/fiery-icons-melt.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/poor-walls-punch.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/slimy-shrimps-attend.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/tangy-kiwis-repeat.md

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
## e2b auth
2+
3+
4+
authentication commands
5+
6+
### Usage
7+
8+
```bash
9+
e2b auth [options] [command]
10+
```
11+
## e2b auth login
12+
13+
14+
log in to CLI
15+
16+
### Usage
17+
18+
```bash
19+
e2b auth login [options]
20+
```
21+
22+
23+
## e2b auth logout
24+
25+
26+
log out of CLI
27+
28+
### Usage
29+
30+
```bash
31+
e2b auth logout [options]
32+
```
33+
34+
35+
## e2b auth info
36+
37+
38+
get information about the current user
39+
40+
### Usage
41+
42+
```bash
43+
e2b auth info [options]
44+
```
45+
46+
47+
## e2b auth configure
48+
49+
50+
configure user
51+
52+
### Usage
53+
54+
```bash
55+
e2b auth configure [options]
56+
```
57+
58+
Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
## e2b sandbox
2+
3+
4+
work with sandboxes
5+
6+
### Usage
7+
8+
```bash
9+
e2b sandbox [options] [command]
10+
```
11+
## e2b sandbox connect
12+
13+
14+
connect terminal to already running sandbox
15+
16+
### Usage
17+
18+
```bash
19+
e2b sandbox connect [options] <sandboxID>
20+
```
21+
22+
23+
## e2b sandbox list
24+
25+
26+
list all sandboxes, by default it list only running ones
27+
28+
### Usage
29+
30+
```bash
31+
e2b sandbox list [options]
32+
```
33+
34+
### Options
35+
36+
37+
- `-s, --state <state>: filter by state, eg. running, paused. Defaults to running `
38+
- `-m, --metadata <metadata>: filter by metadata, eg. key1=value1 `
39+
- `-l, --limit <limit>: limit the number of sandboxes returned `
40+
- `-f, --format <format>: output format, eg. json, pretty `
41+
42+
43+
## e2b sandbox kill
44+
45+
46+
kill sandbox
47+
48+
### Usage
49+
50+
```bash
51+
e2b sandbox kill [options] [sandboxIDs...]
52+
```
53+
54+
### Options
55+
56+
57+
- `-a, --all: kill all sandboxes `
58+
- `-s, --state <state>: when used with -a/--all flag, filter by state, eg. running, paused. Defaults to running `
59+
- `-m, --metadata <metadata>: when used with -a/--all flag, filter by metadata, eg. key1=value1 `
60+
61+
62+
## e2b sandbox create
63+
64+
65+
create sandbox and connect terminal to it
66+
67+
### Usage
68+
69+
```bash
70+
e2b sandbox create [options] [template]
71+
```
72+
73+
### Options
74+
75+
76+
- `-p, --path <path>: change root directory where command is executed to <path> directory `
77+
- `--config <e2b-toml>: specify path to the E2B config toml. By default E2B tries to find ./e2b.toml in root directory. We recommend using the new build system (https://e2b.dev/docs/template/defining-template) that does not use config files. `
78+
- `-d, --detach: create sandbox without connecting terminal to it `
79+
80+
81+
## e2b sandbox spawn
82+
83+
84+
create sandbox and connect terminal to it
85+
86+
### Usage
87+
88+
```bash
89+
e2b sandbox spawn [options] [template]
90+
```
91+
92+
### Options
93+
94+
95+
- `-p, --path <path>: change root directory where command is executed to <path> directory `
96+
- `--config <e2b-toml>: specify path to the E2B config toml. By default E2B tries to find ./e2b.toml in root directory. We recommend using the new build system (https://e2b.dev/docs/template/defining-template) that does not use config files. `
97+
- `-d, --detach: create sandbox without connecting terminal to it `
98+
99+
100+
## e2b sandbox logs
101+
102+
103+
show logs for sandbox
104+
105+
### Usage
106+
107+
```bash
108+
e2b sandbox logs [options] <sandboxID>
109+
```
110+
111+
### Options
112+
113+
114+
- `--level <level>: filter logs by level (DEBUG, INFO, WARN, ERROR). The logs with the higher levels will be also shown. [default: INFO]`
115+
- `-f, --follow: keep streaming logs until the sandbox is closed `
116+
- `--format <format>: specify format for printing logs (json, pretty) [default: pretty]`
117+
- `--loggers [loggers]: filter logs by loggers. Specify multiple loggers by separating them with a comma. `
118+
119+
120+
## e2b sandbox metrics
121+
122+
123+
show metrics for sandbox
124+
125+
### Usage
126+
127+
```bash
128+
e2b sandbox metrics [options] <sandboxID>
129+
```
130+
131+
### Options
132+
133+
134+
- `-f, --follow: keep streaming metrics until the sandbox is closed `
135+
- `--format <format>: specify format for printing metrics (json, pretty) [default: pretty]`
136+
137+
138+
## e2b sandbox exec
139+
140+
141+
execute a command in a running sandbox
142+
143+
### Usage
144+
145+
```bash
146+
e2b sandbox exec [options] <sandboxID> <command...>
147+
```
148+
149+
### Options
150+
151+
152+
- `-b, --background: run in background and return immediately `
153+
- `-c, --cwd <dir>: working directory `
154+
- `-u, --user <user>: run as specified user `
155+
- `-e, --env <KEY=VALUE>: set environment variable (repeatable) [default: [object Object]]`
156+
157+

0 commit comments

Comments
 (0)