CmdID / az / az synapse / az synapse kql-script
az synapse kql-script export
Export KQL scripts. Azure CLI reference
3 options Its page in the Azure CLI reference
Options
--name, -nThe name of the KQL script.--output-folderThe name of the output folder--workspace-nameThe name of the workspace