corda / net.corda.node / InteractiveShell / runFlowByNameFragment

runFlowByNameFragment

@JvmStatic fun runFlowByNameFragment(nameFragment: String, inputData: String, output: RenderPrintWriter): Unit

Called from the 'flow' shell command. Takes a name fragment and finds a matching flow, or prints out the list of options if the request is ambiguous. Then parses inputData as constructor arguments using the runFlowFromString method and starts the requested flow using the ANSIProgressRenderer to draw the progress tracker. Ctrl-C can be used to cancel.