forFamily static method
Returns the dialect for family.
Implementation
static ShellDialect forFamily(ShellFamily family) => switch (family) {
ShellFamily.posix => const PosixShellDialect(),
ShellFamily.powershell => const PowerShellDialect(),
ShellFamily.cmd => const CmdShellDialect(),
};