@owlmetry/cli 0.1.9 → 0.1.10

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.9").description("OwlMetry CLI \u2014 query metrics and manage your apps from the terminal").addOption(
7201
+ var program2 = new Command().name("owlmetry").version("0.1.10").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.9
3
+ version: 0.1.10
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,59 @@ 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
+ ## Command Quick Reference
120
+
121
+ Copy-paste ready. All commands support `--format json` for machine-readable output. Global flags: `--endpoint <url>`, `--api-key <key>`, `--team <name-or-id>`.
122
+
123
+ ```
124
+ # Auth
125
+ owlmetry auth send-code --email <email>
126
+ owlmetry auth verify --email <email> --code <code> --format json
127
+ owlmetry whoami --format json
128
+ owlmetry switch [<name-or-slug>]
129
+ owlmetry setup --endpoint <url> --api-key <key> [--ingest-endpoint <url>]
130
+
131
+ # Projects
132
+ owlmetry projects --format json
133
+ owlmetry projects view <id> --format json
134
+ owlmetry projects create --name <name> --slug <slug> [--team-id <id>] --format json
135
+ owlmetry projects update <id> --name <name> --format json
136
+
137
+ # Apps
138
+ owlmetry apps list [--project-id <id>] --format json
139
+ owlmetry apps view <id> --format json
140
+ owlmetry apps create --project-id <id> --name <name> --platform <platform> [--bundle-id <id>] --format json
141
+ owlmetry apps update <id> --name <name> --format json
142
+
143
+ # Metrics
144
+ owlmetry metrics list --project-id <id> --format json
145
+ owlmetry metrics view <slug> --project-id <id> --format json
146
+ owlmetry metrics create --project-id <id> --name <name> --slug <slug> [--lifecycle] [--description <desc>] --format json
147
+ owlmetry metrics update <slug> --project-id <id> [--name <name>] [--status active|paused] --format json
148
+ owlmetry metrics delete <slug> --project-id <id>
149
+ owlmetry metrics events <slug> --project-id <id> [--phase <phase>] [--user-id <id>] [--since <time>] [--until <time>] --format json
150
+ owlmetry metrics query <slug> --project-id <id> [--since <date>] [--until <date>] [--app-id <id>] [--user-id <id>] [--group-by <field>] --format json
151
+
152
+ # Funnels
153
+ owlmetry funnels list --project-id <id> --format json
154
+ owlmetry funnels view <slug> --project-id <id> --format json
155
+ owlmetry funnels create --project-id <id> --name <name> --slug <slug> --steps-file <path> [--description <desc>] --format json
156
+ owlmetry funnels update <slug> --project-id <id> --steps-file <path> --format json
157
+ owlmetry funnels delete <slug> --project-id <id>
158
+ owlmetry funnels query <slug> --project-id <id> [--since <date>] [--until <date>] [--open] [--group-by <field>] --format json
159
+
160
+ # Events
161
+ owlmetry events [--project-id <id>] [--app-id <id>] [--level <level>] [--user-id <id>] [--session-id <id>] [--since <time>] [--limit <n>] --format json
162
+ owlmetry events view <id> --format json
163
+ owlmetry investigate <eventId> [--window <minutes>] --format json
164
+
165
+ # Users
166
+ owlmetry users <app-id> [--anonymous] [--real] [--search <query>] [--limit <n>] --format json
167
+
168
+ # Audit Logs
169
+ owlmetry audit-log list --team-id <id> [--resource-type <type>] [--actor-id <id>] [--action <action>] [--since <time>] --format json
170
+ ```
171
+
119
172
  ## Resource Management
120
173
 
121
174
  ### Projects
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: owlmetry-node
3
- version: 0.1.9
3
+ version: 0.1.10
4
4
  description: >-
5
5
  Integrate the OwlMetry Node.js SDK into a backend service for server-side
6
6
  analytics, event tracking, metrics, funnels, and A/B experiments. Use when
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: owlmetry-swift
3
- version: 0.1.9
3
+ version: 0.1.10
4
4
  description: >-
5
5
  Integrate the OwlMetry Swift SDK into an iOS or macOS app for analytics,
6
6
  event tracking, metrics, funnels, and A/B experiments. Use when
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmetry/cli",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
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",