The current command.
The commands that will be executed.
The context for the command.
The current step index.
An OptionsGetter
to dynamically retrieve options.
Readonly
endReadonly
forkFork the state and execute a new set of commands with the same context.
Optional
initialOptional
optionOptional
paramThe data from the last command.
Readonly
nextReadonly
start
Execution state management.
The
State
is responsible for managing the state of command execution. It provides mechanisms to progress through command execution, handle state transitions, and manage the lifecycle of command data.