Skip to content

Commit

Permalink
Don't export internal config structures
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Jan 17, 2019
1 parent 3a63e45 commit abf762f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ type Config struct {
Verbose bool
SourceVCSCommand string
Bitwarden bitwardenCommandConfig
LastPass LastPassCommandConfig
LastPass lastpassCommandConfig
OnePassword onepasswordCommandConfig
Vault vaultCommandConfig
Pass PassCommandConfig
Pass passCommandConfig
Data map[string]interface{}
funcs template.FuncMap
add addCommandConfig
Expand Down
1 change: 0 additions & 1 deletion cmd/secret_keyring.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ var keyringCommand = &cobra.Command{
Short: "Interact with keyring",
}

// A keyringCommandConfig is a configuration for the keyring command.
type keyringCommandConfig struct {
service string
user string
Expand Down
3 changes: 1 addition & 2 deletions cmd/secret_lastpass.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ var lastpassCommand = &cobra.Command{

var lastpassParseNoteRegexp = regexp.MustCompile(`\A([ A-Za-z]*):(.*)\z`)

// A LastPassCommandConfig is a configuration for the lastpass command.
type LastPassCommandConfig struct {
type lastpassCommandConfig struct {
Lpass string
}

Expand Down
3 changes: 1 addition & 2 deletions cmd/secret_pass.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ var passCommand = &cobra.Command{
RunE: makeRunE(config.runPassCommand),
}

// A PassCommandConfig is a configuration for the pass command.
type PassCommandConfig struct {
type passCommandConfig struct {
Pass string
}

Expand Down

0 comments on commit abf762f

Please sign in to comment.