@e2b/cli 0.0.14 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +11 -6
  2. package/dist/index.js +64 -62
  3. package/package.json +2 -4
package/README.md CHANGED
@@ -52,11 +52,11 @@ e2b --help
52
52
  template:
53
53
 
54
54
  ```Dockerfile
55
- FROM ubuntu:20.04
56
- ```
55
+ FROM ubuntu:22.04
56
+ ```
57
57
 
58
58
  3. Run `e2b build` inside the directory with the `Dockerfile` to create and build the sandbox template. You will get *
59
- *template ID** that you use for connecting to the sandbox via SDKs and for rebuilding the sandbox template
59
+ _template ID_* that you use for connecting to the sandbox via SDKs and for rebuilding the sandbox template
60
60
 
61
61
  5. Use the **template ID** that you got during the `e2b build` with the Python or JS/TS SDK as the `id` to create
62
62
  sandbox
@@ -69,21 +69,26 @@ All commands can be called with a `--path <path-to-dir>` flag that changes the d
69
69
  called, without the need to call `cd`.
70
70
 
71
71
  ```sh
72
- -V, --version Display e2b CLI version
72
+ -V, --version Display E2B CLI version
73
73
  -h, --help display help for command
74
74
  ```
75
75
 
76
76
  ```sh
77
77
  Usage: e2b template [options] [command]
78
78
 
79
- Manage e2b sandbox templates
79
+ Manage E2B sandbox templates
80
80
 
81
81
  Options:
82
82
  -h, --help display help for command
83
83
 
84
84
  Commands:
85
- build|bd [options] [id] Build sandbox template
85
+ build|bd [options] [id] Build sandbox template defined by ./e2b.Dockerfile or ./Dockerfile in root directory. By default the root directory is the current working directory. This command also creates e2b.toml config
86
+
86
87
  list|ls List sandbox templates
88
+
87
89
  shell|sh <id> Connect terminal to sandbox
90
+
91
+ init|it [options] Create basic E2B `e2b.Dockerfile` in root directory. You can then run `e2b template build` to build sandbox template from this Dockerfile
92
+
88
93
  help [command] display help for command
89
94
  ```