mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
add poetry command (#67)
* add poetry command * add poetry.lock extractor & define cmd parser for poetry * feat: support Poetry caret/tilde version syntax * add wildcard constraint support & test cases * readme update * chore: small fixes
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
package analytics
|
||||
|
||||
const (
|
||||
eventRun = "pmg_command_run"
|
||||
eventCommandNpm = "pmg_command_npm"
|
||||
eventCommandBun = "pmg_command_bun"
|
||||
eventCommandPnpm = "pmg_command_pnpm"
|
||||
eventCommandPip = "pmg_command_pip"
|
||||
eventCommandUv = "pmg_command_uv"
|
||||
eventRun = "pmg_command_run"
|
||||
eventCommandNpm = "pmg_command_npm"
|
||||
eventCommandBun = "pmg_command_bun"
|
||||
eventCommandPnpm = "pmg_command_pnpm"
|
||||
eventCommandPip = "pmg_command_pip"
|
||||
eventCommandUv = "pmg_command_uv"
|
||||
eventCommandPoetry = "pmg_command_poetry"
|
||||
|
||||
eventPmgGenerateEnvDocker = "pmg_command_generate_env_docker"
|
||||
eventPmgGenerateEnvGitHubActions = "pmg_command_generate_env_github_actions"
|
||||
@@ -37,6 +38,10 @@ func TrackCommandUv() {
|
||||
TrackEvent(eventCommandUv)
|
||||
}
|
||||
|
||||
func TrackCommandPoetry() {
|
||||
TrackEvent(eventCommandPoetry)
|
||||
}
|
||||
|
||||
func TrackCommandGenerateEnvDocker() {
|
||||
TrackEvent(eventPmgGenerateEnvDocker)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user