@elnora-ai/cli 2.0.5 → 2.1.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 +16 -4
- package/dist/cli.js +974 -549
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -180,14 +180,26 @@ API keys are stored in `~/.elnora/profiles.toml` with secure file permissions (0
|
|
|
180
180
|
|
|
181
181
|
## Output Formats
|
|
182
182
|
|
|
183
|
+
By default the CLI prints a **human-readable table** in an interactive terminal and
|
|
184
|
+
**JSON when the output is piped or redirected** — so `elnora ... | jq` and scripts/agents
|
|
185
|
+
keep getting JSON automatically, with no flag required.
|
|
186
|
+
|
|
183
187
|
```bash
|
|
184
|
-
elnora projects list # JSON
|
|
185
|
-
elnora projects list
|
|
188
|
+
elnora projects list # table in a terminal, JSON when piped
|
|
189
|
+
elnora projects list | jq # JSON (piped → machine format)
|
|
190
|
+
elnora projects list --json # force JSON, even in a terminal
|
|
191
|
+
elnora projects list --output table # force the human table
|
|
192
|
+
elnora projects list --md # Markdown (great for agents/chat/docs)
|
|
186
193
|
elnora projects list --output csv # CSV
|
|
187
|
-
elnora projects list --
|
|
188
|
-
elnora projects list --
|
|
194
|
+
elnora projects list --compact # compact (single-line) JSON
|
|
195
|
+
elnora projects list --fields id,name # field filtering (works with any format)
|
|
189
196
|
```
|
|
190
197
|
|
|
198
|
+
Other global flags: `--quiet` (suppress spinners and update notices), `--no-color`
|
|
199
|
+
(disable colored output; `NO_COLOR` is also honored).
|
|
200
|
+
|
|
201
|
+
Run `elnora config show` to print the resolved endpoints and active profile.
|
|
202
|
+
|
|
191
203
|
## Documentation
|
|
192
204
|
|
|
193
205
|
- [Migration Guide](MIGRATION.md) — migrating from the Python CLI
|