@owlmetry/cli 0.1.10 → 0.1.11
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/dist/index.cjs
CHANGED
|
@@ -7198,7 +7198,7 @@ var switchCommand = new Command("switch").description("Switch active team profil
|
|
|
7198
7198
|
});
|
|
7199
7199
|
|
|
7200
7200
|
// src/index.ts
|
|
7201
|
-
var program2 = new Command().name("owlmetry").version("0.1.
|
|
7201
|
+
var program2 = new Command().name("owlmetry").version("0.1.11").description("OwlMetry CLI \u2014 query metrics and manage your apps from the terminal").addOption(
|
|
7202
7202
|
new Option("--format <format>", "Output format").choices(["table", "json", "log"]).default("table")
|
|
7203
7203
|
).option("--endpoint <url>", "OwlMetry API server URL").option("--api-key <key>", "API key").option("--ingest-endpoint <url>", "OwlMetry ingest endpoint URL (for SDKs; defaults to API endpoint for self-hosted)").option("--team <name-or-id>", "Use a specific team profile for this command");
|
|
7204
7204
|
program2.addCommand(authCommand);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: owlmetry-cli
|
|
3
|
-
version: 0.1.
|
|
3
|
+
version: 0.1.11
|
|
4
4
|
description: >-
|
|
5
5
|
Install the OwlMetry CLI, sign up, and manage projects, apps, metrics,
|
|
6
6
|
funnels, and events. Use when adding OwlMetry to a project, querying
|
|
@@ -116,6 +116,14 @@ OwlMetry organises resources in a `Team → Project → Apps` hierarchy:
|
|
|
116
116
|
|
|
117
117
|
Projects group apps cross-platform: an iOS app and its backend API can share the same project, enabling unified funnel and metric analysis across both.
|
|
118
118
|
|
|
119
|
+
## Discovering IDs
|
|
120
|
+
|
|
121
|
+
Always use CLI commands to get IDs — never read `~/.owlmetry/config.json` directly.
|
|
122
|
+
|
|
123
|
+
- **Team ID**: `owlmetry whoami --format json` → `.teams[].id`
|
|
124
|
+
- **Project ID**: `owlmetry projects --format json` → `[].id`
|
|
125
|
+
- **App ID**: `owlmetry apps list --format json` → `[].id` (also returns `client_key`)
|
|
126
|
+
|
|
119
127
|
## Command Quick Reference
|
|
120
128
|
|
|
121
129
|
Copy-paste ready. All commands support `--format json` for machine-readable output. Global flags: `--endpoint <url>`, `--api-key <key>`, `--team <name-or-id>`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmetry/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "OwlMetry CLI — manage projects, apps, metrics, funnels, and events from the terminal. Includes AI skill files for agent-assisted development.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|