func NewGreptConfig()

in pkg/grept_config.go [21:26]


func NewGreptConfig(baseDir string, cliFlagAssignedVariables []golden.CliFlagAssignedVariables, ctx context.Context, hclBlocks []*golden.HclBlock) (*GreptConfig, error) {
	cfg := &GreptConfig{
		BaseConfig: golden.NewBasicConfig(baseDir, "grept", "grept", nil, cliFlagAssignedVariables, ctx),
	}
	return cfg, golden.InitConfig(cfg, hclBlocks)
}