Livt packages

Eccelerators.Cli

Version 1.4.1

Transport-independent, bounded command-line input, parsing, editing, and output for Livt FPGA applications.

Published files (23)

src/ICommand.lvt

namespace Eccelerators.Cli

/**
 * A registered CLI operation. Matches must not change terminal state.
 * TryExecute returns true only after accepting the entire response; on false,
 * leave output and command state unchanged so dispatch can retry safely.
 * Commands never complete input themselves; the dispatcher owns completion.
 */
interface ICommand
{
	fn Matches() bool
	fn TryExecute() bool
}