@sentriflow/cli 0.2.1 → 0.3.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 +35 -0
  2. package/dist/index.js +1202 -373
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -151,6 +151,41 @@ sentriflow --show-machine-id
151
151
  # Output: Machine ID: a1b2c3d4...
152
152
  ```
153
153
 
154
+ ### Cloud Licensing Commands
155
+
156
+ Cloud licensing features require the `@sentriflow/licensing` package, which is provided to customers after purchasing a license. Visit [sentriflow.com.au/pricing](https://sentriflow.com.au/pricing) for more information.
157
+
158
+ | Command | Description |
159
+ |---------|-------------|
160
+ | `sentriflow activate --license-key <key>` | Activate license and download entitled packs |
161
+ | `sentriflow update` | Check for and download pack updates |
162
+ | `sentriflow offline --bundle <path>` | Create offline bundle for air-gapped environments |
163
+ | `sentriflow license` | Show license status and entitled feeds |
164
+
165
+ **Activate a license:**
166
+
167
+ ```bash
168
+ # Activate license and download all entitled packs
169
+ sentriflow activate --license-key eyJhbGciOiJIUzI1Ni...
170
+
171
+ # Or use environment variable
172
+ export SENTRIFLOW_LICENSE_KEY=eyJhbGciOiJIUzI1Ni...
173
+ sentriflow activate
174
+ ```
175
+
176
+ **Check for updates:**
177
+
178
+ ```bash
179
+ # Check and download available pack updates
180
+ sentriflow update
181
+ ```
182
+
183
+ **Offline mode:**
184
+
185
+ Downloaded packs are cached in `~/.sentriflow/cache/` and work offline for 72 hours (entitlement cache). The pack files themselves work indefinitely once downloaded.
186
+
187
+ If `@sentriflow/licensing` is not installed, these commands display a message with information on how to obtain access.
188
+
154
189
  ### Directory Scanning
155
190
 
156
191
  | Option | Description |