Skip to content

Internal Structure

Iuga Alexandru edited this page May 16, 2023 · 2 revisions

Commando is a framework developed with the purpose of easily parsing and executing commands in a console application.

Execution Steps

For processing a text command, the following steps are performed:

  • Parse the text command.

  • Instantiate the correct ICommand class.

    • Populate all the parameters of the ICommand instance with values from the text command.
  • Execute the ICommand.

Internal Structure

To handle the request as stated previously, the following internal components and models are created:

  1. Command Parser
  2. Command Request Model
  3. Command Router
  4. Command Metadata Model
  5. Command Model

Internal Structure

Clone this wiki locally