ld-find-code-refs icon indicating copy to clipboard operation
ld-find-code-refs copied to clipboard

Allow local dry run without access token and specifying the flag key(s)

Open dillonstreator opened this issue 3 years ago • 2 comments

I'd like to be able to perform a dry run locally without providing an access token and providing the flag key(s) myself.

dillonstreator avatar Mar 03 '22 20:03 dillonstreator

Hi @DillonStreator, thanks for the feedback. We are tracking this feature request.

jazanne avatar Mar 03 '22 22:03 jazanne

I used the following method:

Change this line: https://github.com/launchdarkly/ld-find-code-refs/blob/main/search/matcher.go#L34

To something like this:

	//flagKeys := flags.GetFlagKeys(opts, repoParams)
	flagKeys := map[string][]string{"PROJECT_NAME": []string{"my-flag"}}

kostyay avatar Aug 10 '23 20:08 kostyay