@edgestore/cli 0.0.0-canary-20260801075232 → 1.0.0-next.2

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 +23 -8
  2. package/dist/bin.mjs +3208 -810
  3. package/package.json +7 -2
package/README.md CHANGED
@@ -3,20 +3,20 @@
3
3
  The official command-line interface for EdgeStore accounts and projects.
4
4
 
5
5
  ```sh
6
- pnpm add --global @edgestore/cli
6
+ npm install --global @edgestore/cli
7
7
  edgestore --help
8
8
  ```
9
9
 
10
- Log in with a management token, then use `init` for guided local setup:
10
+ Log in through the dashboard, then use `init` for guided local setup:
11
11
 
12
12
  ```sh
13
- edgestore login --token
13
+ edgestore login
14
14
  edgestore init
15
15
  ```
16
16
 
17
- Use `EDGESTORE_TOKEN` for automation. Persisted credentials are stored in the
18
- operating system credential store and are never written to a plaintext config
19
- file.
17
+ Use `edgestore login --token` or `EDGESTORE_TOKEN` for automation and other
18
+ non-browser environments. Persisted credentials are stored in the operating
19
+ system credential store and are never written to a plaintext config file.
20
20
 
21
21
  The CLI manages accounts, projects and their keys, management tokens, buckets,
22
22
  files, uploads, team members, and invitations. Secrets are returned only when
@@ -29,6 +29,21 @@ edgestore file upload ./logo.png --bucket publicFiles
29
29
  edgestore project key create <basePath> --name local --output .env.local
30
30
  ```
31
31
 
32
+ In a monorepo, run commands from the application package or select it
33
+ explicitly with `--cwd`:
34
+
35
+ ```sh
36
+ edgestore --cwd apps/web init
37
+ edgestore --cwd apps/web bucket list
38
+ ```
39
+
40
+ Each workspace package keeps its own `.edgestore/config.json`. From a configured
41
+ monorepo root, the CLI uses the root configuration. From an unconfigured root,
42
+ it uses the only configured package automatically or asks which package to use
43
+ when more than one is configured. Automation should pass `--cwd` or an explicit
44
+ `--project` when the choice is ambiguous.
45
+
32
46
  Use `--json` for structured output and `--plain` for commands with one natural
33
- value. Run `edgestore completion bash`, `zsh`, or `fish` to configure shell
34
- completion.
47
+ value. Both modes are non-interactive, so pass required choices explicitly and
48
+ use `--yes` when a command requires confirmation. Run `edgestore completion
49
+ bash`, `zsh`, or `fish` to configure shell completion.