@omni-commerce/cli 0.8.0 → 0.10.0

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.
package/README.md CHANGED
@@ -4,8 +4,13 @@ Command-line client for the OmniCommerce API. Generated from the same OpenAPI sp
4
4
 
5
5
  ```bash
6
6
  npm install -g @omni-commerce/cli
7
- omni auth login --api-key omni_sk_...
7
+ omni auth login
8
8
  omni products list --q lamp
9
9
  ```
10
10
 
11
+ Login opens your browser. Sign in, confirm the terminal code, and approve an
12
+ organization to save credentials in `~/.omni/config.json` (mode `0600`).
13
+ Use `omni auth login --no-browser` to open the printed URL yourself, or
14
+ `omni auth login --api-key omni_sk_...` to save an existing key for automation.
15
+
11
16
  See the [CLI docs](https://docs.omnicommerce.sg/cli/omni-cli).