@elding/cli 0.9.1 → 0.9.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 (2) hide show
  1. package/README.md +30 -28
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,47 +1,49 @@
1
1
  # @elding/cli
2
2
 
3
- Le CLI Elding. Lance ton app en local avec tes clés API injectées par un proxy :
4
- la vraie clé n'entre jamais dans la mémoire de ton app.
3
+ The Elding CLI. Run your app locally with your API keys injected by a proxy:
4
+ the real key never enters your app's memory.
5
5
 
6
6
  ```bash
7
7
  npm install -g @elding/cli
8
8
  ```
9
9
 
10
- ## Démarrage
10
+ > ⚠️ **Elding warning:** always use the **scoped** name `@elding/cli`. `npm install -g elding` (without the `@elding/` scope) installs an unrelated third-party package, not Elding.
11
+
12
+ ## Getting started
11
13
 
12
14
  ```bash
13
- elding login # connexion (ouvre le navigateur)
14
- elding init # lie le dossier courant à un set de secrets
15
- elding proxy -- npm run dev # lance ton app avec le proxy actif
15
+ elding login # sign in (opens the browser)
16
+ elding init # link the current folder to a secret set
17
+ elding proxy -- npm run dev # run your app with the proxy active
16
18
  ```
17
19
 
18
- Dans ton code, utilise [`@elding/sdk`](https://www.npmjs.com/package/@elding/sdk)
19
- (`configure()` pour les clés HTTP, `secret()` pour le reste).
20
+ In your code, use [`@elding/sdk`](https://www.npmjs.com/package/@elding/sdk)
21
+ (`configure()` for HTTP keys, `secret()` for the rest).
20
22
 
21
- ## Commandes
23
+ ## Commands
22
24
 
23
- | Commande | Rôle |
25
+ | Command | Role |
24
26
  |---|---|
25
- | `elding login` / `logout` | Connexion / déconnexion (token dans le keychain de l'OS) |
26
- | `elding init` | Lie le projet à une organisation + un set |
27
- | `elding proxy -- <cmd>` | Lance `<cmd>` avec le proxy local (clé hors process) |
28
- | `elding run -- <cmd>` | Injecte les secrets en variables d'env (si autorisé par l'org) |
29
- | `elding keys` / `sets` | Liste les clés / les sets |
30
- | `elding use` | Change le set actif |
31
- | `elding status` / `whoami` | État courant / utilisateur connecté |
32
- | `elding doctor` | Diagnostique la config locale |
33
- | `elding open` | Ouvre le dashboard web |
27
+ | `elding login` / `logout` | Sign in / out (token in the OS keychain) |
28
+ | `elding init` | Link the project to an organisation + a set |
29
+ | `elding proxy -- <cmd>` | Run `<cmd>` with the local proxy (key out of process) |
30
+ | `elding run -- <cmd>` | Inject secrets as env variables (if allowed by the org) |
31
+ | `elding keys` / `sets` | List keys / sets |
32
+ | `elding use` | Switch the active set |
33
+ | `elding status` / `whoami` | Current state / signed-in user |
34
+ | `elding doctor` | Diagnose the local config |
35
+ | `elding open` | Open the web dashboard |
34
36
 
35
37
  ## `proxy` vs `run`
36
38
 
37
- - **`proxy`** (recommandé) : ton app reçoit un placeholder, le proxy injecte la
38
- vraie clé dans la requête sortante et la verrouille à son domaine. La clé
39
- n'entre jamais dans `process.env`. Réservé aux **clés API HTTP**.
40
- - **`run`** : injecte les secrets en clair dans `process.env` (tous types, tous
41
- langages). Désactivé par défaut côté organisation, à activer explicitement.
39
+ - **`proxy`** (recommended): your app receives a placeholder, the proxy injects the
40
+ real key into the outgoing request and locks it to its domain. The key never
41
+ enters `process.env`. For **HTTP API keys** only.
42
+ - **`run`**: injects secrets in clear text into `process.env` (all types, all
43
+ languages). Disabled by default at the organisation level, enable it explicitly.
42
44
 
43
- ## Sécurité
45
+ ## Security
44
46
 
45
- - Token stocké dans le **keychain de l'OS**, jamais en clair sur disque.
46
- - Le proxy bind `127.0.0.1` uniquement, anti-SSRF, valeurs de secrets jamais loggées.
47
- - Chaque clé peut être verrouillée à un domaine (`allowedHost`) et coupée (`INACTIVE`).
47
+ - Token stored in the **OS keychain**, never in clear text on disk.
48
+ - The proxy binds `127.0.0.1` only, anti-SSRF, secret values never logged.
49
+ - Each key can be locked to a domain (`allowedHost`) and cut off (`INACTIVE`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elding/cli",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Elding CLI — zero .env, secrets from vault",
5
5
  "bin": {
6
6
  "elding": "dist/index.js"