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
325 stars 57 forks source link

Mutually exclusive flags in Cobra #341

Closed JyotikaGargg closed 1 year ago

JyotikaGargg commented 1 year ago

In order to have few flags to act in mutual exclusive manner , we need to implement this function in Cobra implementation . Some of the flags which need to mutually exclusive :