mirror of
https://github.com/kopia/kopia.git
synced 2026-03-05 23:08:11 -05:00
* feat(infra): improved support for in-process testing * support for killing of a running server using simulated Ctrl-C * support for overriding os.Stdin * migrated many tests from the exe runner to in-process runner * added required indirection when defining Envar() so we can later override it in tests * refactored CLI runners by moving environment overrides to CLITestEnv
10 lines
294 B
Go
10 lines
294 B
Go
package cli
|
|
|
|
import (
|
|
"github.com/alecthomas/kingpin"
|
|
)
|
|
|
|
func (c *App) setupOSSpecificKeychainFlags(svc appServices, app *kingpin.Application) {
|
|
app.Flag("use-credential-manager", "Use Windows Credential Manager for storing repository password.").Default("true").BoolVar(&c.keyRingEnabled)
|
|
}
|