microsoft / go-sqlcmd

The new sqlcmd, CLI for SQL Server and Azure SQL (winget install sqlcmd / sqlcmd create mssql / sqlcmd open ads)
https://learn.microsoft.com/sql/tools/sqlcmd/go-sqlcmd-utility
MIT License
323 stars 56 forks source link

Add initial telelmetry skeleton #495

Open apoorvdeshmukh opened 6 months ago

apoorvdeshmukh commented 6 months ago
shueybubbles commented 4 months ago

DefineCommand(...CommandOptions)

the telemetry property keys to identify the command and subcommand should be extractable from CommandOptions, correct? instead of having them explicitly added by the command implementation later on.


Refers to: internal/cmdparser/interface.go:27 in 12039f3. [](commit_id = 12039f3b7732570ce21f33637187a190f2d56be2, deletion_comment = False)