mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Unexport cmd.NewGenerateConfigCommand
This commit is contained in:
parent
da4e3b0e14
commit
4ec7a05524
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
var generateConf *ctl.GenerateConfigCommand
|
||||
|
||||
func NewGenerateConfigCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command {
|
||||
func newGenerateConfigCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command {
|
||||
generateConf = ctl.NewGenerateConfigCommand(os.Stdin, os.Stdout, os.Stderr)
|
||||
confCmd := &cobra.Command{
|
||||
Use: "generate-config",
|
||||
|
|
@ -45,5 +45,5 @@ func NewGenerateConfigCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.
|
|||
}
|
||||
|
||||
func init() {
|
||||
subcommandFns["generate-config"] = NewGenerateConfigCommand
|
||||
subcommandFns["generate-config"] = newGenerateConfigCommand
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue