assertOsWindows function
void
assertOsWindows()
Asserts that the current operating system is Windows, else exits with an error.
Implementation
void assertOsWindows() {
if (!Platform.isWindows) {
CliLogger.exitError('This command is only supported on Windows.');
}
}