This PR relates to adding multi-account support to the CLI. I am opening it for discussion, not because I am confident is done and ready to merge, though I feel relatively good about the approach.
Adding a migration that actually does the config migration
I feel like this is a reasonable split of responsibilities, rather than pushing it all into go-gh/config (which actually tries to be structure agnostic) or pulling it all up to cli/cli (which doesn't know anything about where it would store a backup for example).
I've left comments close to the places that I think are interesting, rather than trying to describe it all here.
Description
This PR relates to adding multi-account support to the CLI. I am opening it for discussion, not because I am confident is done and ready to merge, though I feel relatively good about the approach.
There are two parts to this PR one:
config
package to support migrationsI feel like this is a reasonable split of responsibilities, rather than pushing it all into
go-gh/config
(which actually tries to be structure agnostic) or pulling it all up tocli/cli
(which doesn't know anything about where it would store a backup for example).I've left comments close to the places that I think are interesting, rather than trying to describe it all here.