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:
Sahil Bansal
2025-08-29 00:21:09 +05:30
committed by GitHub
parent 78bc6afa67
commit 12aaba8a05
11 changed files with 810 additions and 40 deletions
+11 -6
View File
@@ -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)
}