How can we help you today? How can we help you today?

Command Line Interface

Hi

We're looking at automating a lot of things (currently got the automation of creating images and clones down to a couple of PowerShell scripts).

The script I'm currently working on will create a clone, create an Azure project/repository and clone to a local directory.
What I'm trying to do now is to automate linking the clone (in SSMS) to the local repository but I can't anything on CLIs for Source Control.

Anyone have any ideas or can point me in the right direction?

TIA

Richard
RichardMGreen
0

Comments

3 comments

  • DanC
    Hi @RichardMGreen

    Unfortunately, there's no CLI available for SQL Source Control in order to perform any automated linking to source control
    DanC
    0
  • RichardMGreen
    Thanks @DanC

    Is this something that's on the roadmap or will it never be done?
    I feel it would save a lot of time for a lot of people if there was a CLI (or some PowerShell modules) that could automate this task
    RichardMGreen
    0
  • DanC
    Hi @RichardMGreen

    I would advise posting the idea to the UserVoice here: https://redgate.uservoice.com/forums/39019-sql-source-control
    DanC
    0

Add comment

Please sign in to leave a comment.