Skip to content

Commit

Permalink
dcouple CLI logic from libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
williammoran committed May 10, 2024
1 parent c91d29d commit dd2e4ef
Show file tree
Hide file tree
Showing 5 changed files with 704 additions and 715 deletions.
18 changes: 0 additions & 18 deletions lib/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,4 @@ package lib

import "github.com/dbsteward/dbsteward/lib/ir"

type Mode uint

const (
ModeUnknown Mode = 0
ModeXmlDataInsert Mode = 1
ModeXmlSort Mode = 2
ModeXmlConvert Mode = 4
ModeBuild Mode = 8
ModeDiff Mode = 16
ModeExtract Mode = 32
ModeDbDataDiff Mode = 64
ModeXmlSlonyId Mode = 73
ModeSqlDiff Mode = 128
ModeSlonikConvert Mode = 256
ModeSlonyCompare Mode = 512
ModeSlonyDiff Mode = 1024
)

const DefaultSqlFormat = ir.SqlFormatPgsql8
Loading

0 comments on commit dd2e4ef

Please sign in to comment.