Variables

finalactions:Array<FormOption>

Actions the server currently allows for this session

finalforms:Array<Form>

Forms to display for the current session step

finalname:String

Human-readable title for the current command session

finalstatus:String

Current command execution status

Methods

@:value({ formIdx : 0, data : null, action : null })execute(?action:String, ?data:EitherType<EitherType<DynamicAccess<StringOrArray>, Map<String, StringOrArray>>, FormData>, formIdx:Int = 0):Promise<CommandSession>

Continue this command session, optionally submitting form data

Parameters:

action

requested action, or null for the default action

data

form values to submit for the selected form

formIdx

index of the form in forms to submit

Returns:

Promise resolving to the next command session state