LL5PNIABADMCIKL7OKCQM7AIQFK363TYWU65FSVM22YAV73FWROAC
VT237HUJI7DE5XLXAR4JARCOFOGC2WRGQWB3RJYAGGWNM36UDP3QC
64J6B76FTOAIPF2HGPIQYU523COLWHN7QOVC3XY42PHKC3GCLMZAC
B4SKYP3Y5R7UPPGLLZV7OK3SIN4TRAJ3IL6FS3T7ZFZF5HTEQARQC
ZGMIJNFVDK7R6AF56FNCA23W5KV3HVBUBPTWMLQADCEPB3MOPELQC
ILH3GIVTVMKSU5TH5ZZSPB3URX622JA2BNBOO6K7ZTF4ISYDTJLAC
NCBEWRYEEJMJO37SHY7XCNFZYWLT5HUHCKN47UGSEY3FFWFX6QFQC
GNQD74OZ56J2R23GVUGFP3G5KVML2KDZ4OUZK6SVLSM7HVO2WOCAC
await repository.refreshStatus();
}
/**
* Switch to a different channel
* @param repository The repository that contains the channels
*/
@command('pijul.switchChannel', { repository: true })
async switchChannel (repository: Repository, targetChannel: PijulChannel): Promise<void> {
if (targetChannel.isCurrent) {
throw new Error('Attempting to switch to current channel, this should be impossible');
}
await repository.switchChannel(targetChannel);