1
0
Fork 0
mirror of synced 2024-09-17 17:57:47 +12:00
budibase/packages/cli/src/events.ts

12 lines
231 B
TypeScript
Raw Normal View History

import { AnalyticsClient } from "./analytics/Client"
const client = new AnalyticsClient()
export function captureEvent(event: string, properties: any) {
client.capture({
distinctId: "cli",
event,
properties,
})
}