WithKeychain sets the secret storage backend. If not provided, the platform keychain is used.
(kc keychain.KeychainAccess)
| 54 | |
| 55 | // WithKeychain sets the secret storage backend. If not provided, the platform keychain is used. |
| 56 | func WithKeychain(kc keychain.KeychainAccess) BuildOption { |
| 57 | return func(c *buildConfig) { |
| 58 | c.keychain = kc |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | // embeddedSkillContent is the skill tree wired into cmdutil.Factory.SkillContent |
| 63 | // at build time. It is registered by the repo-root package main's init via |
no outgoing calls