Skip to content

Commit 39504d9

Browse files
authored
Merge branch 'main' into improve-get-info-error
2 parents d545f04 + ff1f37c commit 39504d9

File tree

95 files changed

+7346
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+7346
-175
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Install and configure Poetry
3939
uses: snok/install-poetry@v1
4040
with:
41-
version: 1.5.1
41+
version: 1.8.3
4242
virtualenvs-create: true
4343
virtualenvs-in-project: true
4444
installer-parallel: true

.github/workflows/publish_packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Install and configure Poetry
3838
uses: snok/install-poetry@v1
3939
with:
40-
version: 1.5.1
40+
version: 1.8.3
4141
virtualenvs-create: true
4242
virtualenvs-in-project: true
4343
installer-parallel: true

.github/workflows/python_sdk_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Install and configure Poetry
3232
uses: snok/install-poetry@v1
3333
with:
34-
version: 1.5.1
34+
version: 1.8.3
3535
virtualenvs-create: true
3636
virtualenvs-in-project: true
3737
installer-parallel: true

.github/workflows/release_candidates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
uses: snok/install-poetry@v1
4747
if: ${{ contains( github.event.pull_request.labels.*.name, 'python-rc') }}
4848
with:
49-
version: 1.5.1
49+
version: 1.8.3
5050
virtualenvs-create: true
5151
virtualenvs-in-project: true
5252
installer-parallel: true

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY: codegen
22
codegen:
3-
@echo "Generating SDK code from openapi and envd spec"
4-
@CODEGEN_IMAGE=$${CODEGEN_IMAGE:-$$(docker build -q -t codegen-env . -f codegen.Dockerfile)} ; \
5-
echo "Using codegen image: $$CODEGEN_IMAGE" \
6-
&& docker run -v $$PWD:/workspace $$CODEGEN_IMAGE make generate
3+
@echo "Building codegen image"
4+
docker build -q -t codegen-env . -f codegen.Dockerfile
5+
@echo "Generating code"
6+
docker run -v $$PWD:/workspace codegen-env make generate
77

88
generate: generate-js generate-python
99

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"autoprefixer": "^10.4.7",
4343
"class-variance-authority": "^0.7.0",
4444
"clsx": "^1.2.1",
45-
"e2b": "^2.2.7",
45+
"e2b": "^2.2.9",
4646
"fast-glob": "^3.3.0",
4747
"fast-xml-parser": "4.4.1",
4848
"flexsearch": "^0.7.31",
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: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
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. `
78+
79+
80+
## e2b sandbox spawn
81+
82+
83+
create sandbox and connect terminal to it
84+
85+
### Usage
86+
87+
```bash
88+
e2b sandbox spawn [options] [template]
89+
```
90+
91+
### Options
92+
93+
94+
- `-p, --path <path>: change root directory where command is executed to <path> directory `
95+
- `--config <e2b-toml>: specify path to the E2B config toml. By default E2B tries to find ./e2b.toml in root directory. `
96+
97+
98+
## e2b sandbox logs
99+
100+
101+
show logs for sandbox
102+
103+
### Usage
104+
105+
```bash
106+
e2b sandbox logs [options] <sandboxID>
107+
```
108+
109+
### Options
110+
111+
112+
- `--level <level>: filter logs by level (DEBUG, INFO, WARN, ERROR). The logs with the higher levels will be also shown. [default: INFO]`
113+
- `-f, --follow: keep streaming logs until the sandbox is closed `
114+
- `--format <format>: specify format for printing logs (json, pretty) [default: pretty]`
115+
- `--loggers [loggers]: filter logs by loggers. Specify multiple loggers by separating them with a comma. `
116+
117+
118+
## e2b sandbox metrics
119+
120+
121+
show metrics for sandbox
122+
123+
### Usage
124+
125+
```bash
126+
e2b sandbox metrics [options] <sandboxID>
127+
```
128+
129+
### Options
130+
131+
132+
- `-f, --follow: keep streaming metrics until the sandbox is closed `
133+
- `--format <format>: specify format for printing metrics (json, pretty) [default: pretty]`
134+
135+

0 commit comments

Comments
 (0)