MCPcopy Index your code
hub / github.com/nikivdev/go / containsCookiesArgument

Function containsCookiesArgument

cli/flow/main.go:2423–2430  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

2421}
2422
2423func containsCookiesArgument(args []string) bool {
2424 for _, arg := range args {
2425 if strings.HasPrefix(arg, "--cookies-from-browser") || strings.HasPrefix(arg, "--cookies") {
2426 return true
2427 }
2428 }
2429 return false
2430}
2431
2432func runSpotifyPlay(ctx *snap.Context) error {
2433 if ctx.NArgs() != 1 {

Callers 1

runYoutubeToSoundFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected