EntryMode enum
All supported entry modes for the application.
Values
- interactive → const EntryMode
-
Interactive terminal UI (default).
- cli → const EntryMode
-
Non-interactive CLI invocation with a single prompt.
- sdk → const EntryMode
-
Programmatic SDK usage from another Dart application.
- mcpServer → const EntryMode
-
Run as an MCP (Model Context Protocol) server.
- headless → const EntryMode
-
Headless mode — no UI, reads from stdin/file, writes to stdout/file.
- embedded → const EntryMode
-
Embedded inside another application (e.g., IDE panel).
- remote → const EntryMode
-
Remote session accessible over network.
- piped → const EntryMode
-
Piped mode — stdin to stdout pipeline processing.
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
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
-
fromString(
String s) → EntryMode - Parse an entry mode from a string identifier.