Merge pull request #10266 from hashicorp/command_flags

Move flag packages from helper to command
This commit is contained in:
Megan Marsh 2020-11-17 10:59:07 -08:00 committed by GitHub
commit 8350ade7ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 4 additions and 4 deletions

View File

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

View File

@ -6,7 +6,7 @@ import (
"io" "io"
"os" "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/helper/wrappedstreams"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/packer-plugin-sdk/template" "github.com/hashicorp/packer/packer-plugin-sdk/template"