Skip to content

Add a command line canonicalizer to internally mask funky back-compat switches  #154

@stuartpa

Description

@stuartpa

Some of the original sqlcmd (ODBC base) command line switches are completely non-standard by modern standards, such as -x1 / -k1 -k2 etc and therefore not supportable by any modern CLI framework (such as Kong or Cobra), rather than try to hack these CLI frameworks, add a canonicalizer very early in process start-up that looks for these odd command line switches and re-writes them into a standard form, and then passes args in standard form into the CLI framework Cobra/Kong.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions