2025-06-30 09:47:14 +05:30
|
|
|
package analytics
|
|
|
|
|
|
|
|
|
|
const (
|
2025-08-29 00:21:09 +05:30
|
|
|
eventRun = "pmg_command_run"
|
|
|
|
|
eventCommandNpm = "pmg_command_npm"
|
|
|
|
|
eventCommandBun = "pmg_command_bun"
|
|
|
|
|
eventCommandPnpm = "pmg_command_pnpm"
|
2025-11-05 13:49:19 +05:30
|
|
|
eventCommandYarn = "pmg_command_yarn"
|
2025-08-29 00:21:09 +05:30
|
|
|
eventCommandPip = "pmg_command_pip"
|
2025-12-03 20:28:45 +05:30
|
|
|
eventCommandPip3 = "pmg_command_pip3"
|
2025-08-29 00:21:09 +05:30
|
|
|
eventCommandUv = "pmg_command_uv"
|
|
|
|
|
eventCommandPoetry = "pmg_command_poetry"
|
2026-06-10 16:26:33 +05:30
|
|
|
eventCommandPipx = "pmg_command_pipx"
|
2025-06-30 09:47:14 +05:30
|
|
|
|
2026-01-09 22:03:42 +05:30
|
|
|
eventCommandNpx = "pmg_command_npx"
|
|
|
|
|
eventCommandPnpx = "pmg_command_pnpx"
|
|
|
|
|
|
2025-06-30 09:47:14 +05:30
|
|
|
eventPmgGenerateEnvDocker = "pmg_command_generate_env_docker"
|
|
|
|
|
eventPmgGenerateEnvGitHubActions = "pmg_command_generate_env_github_actions"
|
|
|
|
|
eventPmgGenerateEnvGitLabCI = "pmg_command_generate_env_gitlab_ci"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func TrackCommandRun() {
|
|
|
|
|
TrackEvent(eventRun)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func TrackCommandNpm() {
|
|
|
|
|
TrackEvent(eventCommandNpm)
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-09 22:03:42 +05:30
|
|
|
func TrackCommandNpx() {
|
|
|
|
|
TrackEvent(eventCommandNpx)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func TrackCommandPnpx() {
|
|
|
|
|
TrackEvent(eventCommandPnpx)
|
|
|
|
|
}
|
|
|
|
|
|
2025-07-28 17:23:32 +05:30
|
|
|
func TrackCommandBun() {
|
|
|
|
|
TrackEvent(eventCommandBun)
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-30 09:47:14 +05:30
|
|
|
func TrackCommandPnpm() {
|
|
|
|
|
TrackEvent(eventCommandPnpm)
|
|
|
|
|
}
|
|
|
|
|
|
2025-11-05 13:49:19 +05:30
|
|
|
func TrackCommandYarn() {
|
|
|
|
|
TrackEvent(eventCommandYarn)
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-30 09:47:14 +05:30
|
|
|
func TrackCommandPip() {
|
|
|
|
|
TrackEvent(eventCommandPip)
|
|
|
|
|
}
|
|
|
|
|
|
2025-12-03 20:28:45 +05:30
|
|
|
func TrackCommandPip3() {
|
|
|
|
|
TrackEvent(eventCommandPip3)
|
|
|
|
|
}
|
|
|
|
|
|
2025-08-06 21:10:51 +05:30
|
|
|
func TrackCommandUv() {
|
|
|
|
|
TrackEvent(eventCommandUv)
|
|
|
|
|
}
|
|
|
|
|
|
2025-08-29 00:21:09 +05:30
|
|
|
func TrackCommandPoetry() {
|
|
|
|
|
TrackEvent(eventCommandPoetry)
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-10 16:26:33 +05:30
|
|
|
func TrackCommandPipx() {
|
|
|
|
|
TrackEvent(eventCommandPipx)
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-30 09:47:14 +05:30
|
|
|
func TrackCommandGenerateEnvDocker() {
|
|
|
|
|
TrackEvent(eventPmgGenerateEnvDocker)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func TrackCommandGenerateEnvGitHubActions() {
|
|
|
|
|
TrackEvent(eventPmgGenerateEnvGitHubActions)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func TrackCommandGenerateEnvGitLabCI() {
|
|
|
|
|
TrackEvent(eventPmgGenerateEnvGitLabCI)
|
|
|
|
|
}
|