move the various flag packages from helper to command, since command is the only package that uses them.

This commit is contained in:
Megan Marsh 2020-11-16 14:23:35 -08:00
parent 4ead224c3b
commit 6a1a22151c
12 changed files with 4 additions and 4 deletions

View File

@ -4,9 +4,9 @@ import (
"flag"
"strings"
"github.com/hashicorp/packer/helper/enumflag"
kvflag "github.com/hashicorp/packer/helper/flag-kv"
sliceflag "github.com/hashicorp/packer/helper/flag-slice"
"github.com/hashicorp/packer/command/enumflag"
kvflag "github.com/hashicorp/packer/command/flag-kv"
sliceflag "github.com/hashicorp/packer/command/flag-slice"
)
//go:generate enumer -type configType -trimprefix ConfigType -transform snake

View File

@ -6,7 +6,7 @@ import (
"io"
"os"
kvflag "github.com/hashicorp/packer/helper/flag-kv"
kvflag "github.com/hashicorp/packer/command/flag-kv"
"github.com/hashicorp/packer/helper/wrappedstreams"
"github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/packer-plugin-sdk/template"