Skip to content

Commit ed546cd

Browse files
committed
chore: refactor options to separate package
1 parent 244c3ec commit ed546cd

File tree

10 files changed

+262
-249
lines changed

10 files changed

+262
-249
lines changed

cmd/envbuilder/main.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ import (
88
"slices"
99
"strings"
1010

11-
"github.com/coder/coder/v2/codersdk"
1211
"github.com/coder/envbuilder"
1312
"github.com/coder/envbuilder/internal/log"
13+
"github.com/coder/envbuilder/pkg/options"
14+
15+
"github.com/coder/coder/v2/codersdk"
1416
"github.com/coder/serpent"
1517

1618
// *Never* remove this. Certificates are not bundled as part
@@ -29,7 +31,7 @@ func main() {
2931
}
3032

3133
func envbuilderCmd() serpent.Command {
32-
var options envbuilder.Options
34+
var options options.Options
3335
cmd := serpent.Command{
3436
Use: "envbuilder",
3537
Options: options.CLI(),

0 commit comments

Comments
 (0)