Initial multi-account migration work

This commit is contained in:
William Martin 2023-10-20 12:46:32 +02:00
parent cd2a6ad6dc
commit 9efa7248a9
13 changed files with 1170 additions and 57 deletions

View file

@ -56,6 +56,14 @@ func mainRun() exitCode {
ctx := context.Background()
// cfg, err := cmdFactory.Config()
// if err != nil {
// fmt.Fprintf(stderr, "failed to load configuration to attempt migration: %s\n", err)
// }
// if err := cfg.MigrateMultiAccount(); err != nil {
// fmt.Fprintf(stderr, "failed to migrate configuration: %s\n", err)
// }
updateCtx, updateCancel := context.WithCancel(ctx)
defer updateCancel()
updateMessageChan := make(chan *update.ReleaseInfo)