ShellFamily enum
The command-language family of a node's interactive shell.
The interactive connect/resume loop drives the remote shell with a
prompt-completion marker and a command wrapper whose syntax depends on the
shell: a POSIX shell (/bin/sh, bash, including Git Bash/WSL on Windows),
Windows PowerShell, or cmd.exe. The node reports which family it launched so
the client emits the matching dialect (see ShellDialect).
Values
- posix → const ShellFamily
-
A POSIX shell (
sh,bash,zsh, Git Bash/WSL). Usestrap/eval/sttyand aprintf/git/idmarker. - powershell → const ShellFamily
-
Windows PowerShell (
pwshorpowershell). - cmd → const ShellFamily
-
The Windows command prompt (
cmd.exe). Degraded marker (no rich git/priv).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wireName → String
-
The wire/JSON token for this family.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromWire(
String? value) → ShellFamily - Decodes a wire token, defaulting to posix for unknown/absent values so older peers (which never send the field) are treated as POSIX.
Constants
-
values
→ const List<
ShellFamily> - A constant List of the values in this enum, in order of their declaration.