Skip to content

Commit

Permalink
Round out --use scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartpa committed Apr 6, 2023
1 parent 135a976 commit 0e6223f
Show file tree
Hide file tree
Showing 34 changed files with 1,292 additions and 244 deletions.
6 changes: 2 additions & 4 deletions cmd/modern/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
package main

import (
legacyCmd "github.com/microsoft/go-sqlcmd/cmd/sqlcmd"
"github.com/microsoft/go-sqlcmd/internal"
"github.com/microsoft/go-sqlcmd/internal/cmdparser"
"github.com/microsoft/go-sqlcmd/internal/cmdparser/dependency"
Expand All @@ -22,11 +23,8 @@ import (
"github.com/microsoft/go-sqlcmd/internal/pal"
"github.com/microsoft/go-sqlcmd/pkg/sqlcmd"
"github.com/spf13/cobra"
"path"

"os"

legacyCmd "github.com/microsoft/go-sqlcmd/cmd/sqlcmd"
"path"
)

var rootCmd *Root
Expand Down
1 change: 1 addition & 0 deletions cmd/modern/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ func (c *Root) SubCommands() []cmdparser.Command {
cmdparser.New[*root.Start](dependencies),
cmdparser.New[*root.Stop](dependencies),
cmdparser.New[*root.Uninstall](dependencies),
cmdparser.New[*root.Use](dependencies),
}

// BUG(stuartpa): - Add Linux support
Expand Down
Loading

0 comments on commit 0e6223f

Please sign in to comment.