File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed
Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 66 flag "github.com/spf13/pflag"
77 app "github.com/upsun/clonsun"
88 logic "github.com/upsun/clonsun/internal/logic"
9+ libconv "github.com/upsun/convsun"
10+ lib "github.com/upsun/lib-sun"
911 entity "github.com/upsun/lib-sun/entity"
1012 utils "github.com/upsun/lib-sun/utility"
1113)
@@ -141,6 +143,17 @@ func main() {
141143 //TODO utils.HasSufficientRights(projectTo.Provider)
142144 //TODO utils.HasSufficientRights(projectFrom.Provider)
143145
146+ //TODO(Mick) Hack (replace by context object)
147+ lib .VERSION = app .VERSION
148+ lib .Args = app .Args
149+ lib .ArgsC = app .ArgsC
150+ lib .ArgsM = app .ArgsM
151+ lib .ArgsS = app .ArgsS
152+ libconv .Args = app .Args
153+ libconv .ArgsC = app .ArgsC
154+ libconv .ArgsM = app .ArgsM
155+ libconv .ArgsS = app .ArgsS
156+
144157 // Process
145158 logic .Clone (projectFrom , projectTo )
146159}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ go 1.22.6
55require (
66 github.com/spf13/pflag v1.0.5
77 github.com/upsun/convsun v0.3.2
8- github.com/upsun/lib-sun v0.3.4
8+ github.com/upsun/lib-sun v0.3.5
99)
1010
1111require (
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
1818github.com/stretchr/testify v1.9.0 /go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY =
1919github.com/upsun/convsun v0.3.2 h1:e25DpkIkg8JeYAoIw3xpgnLEDH9UV6VzbKENXaXdHL4 =
2020github.com/upsun/convsun v0.3.2 /go.mod h1:r1xF3CcYqWXchsYaPRYuvqlf2H24/Miw+cLng3vUiuM =
21- github.com/upsun/lib-sun v0.3.4 h1:ANSleT49LOUHBO/gdKLzXTquC583K3h6IfKfUcQ2uH8 =
22- github.com/upsun/lib-sun v0.3.4 /go.mod h1:8AtRNv0L+c9qCS/maO/OVFIn2VDi89LTkWwpB7YKTDE =
21+ github.com/upsun/lib-sun v0.3.5 h1:Np4d2pPhNy6pFwNfoA0cy7b4UyjfqCKAh+DybUSSAXk =
22+ github.com/upsun/lib-sun v0.3.5 /go.mod h1:8AtRNv0L+c9qCS/maO/OVFIn2VDi89LTkWwpB7YKTDE =
2323golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4 =
2424golang.org/x/sys v0.18.0 /go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA =
2525golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ =
You can’t perform that action at this time.
0 commit comments