View Source Nexus.CLI.Dispatcher (nexus_cli v0.5.0)

Dispatches parsed CLI commands to the appropriate handler functions.

Summary

Functions

Dispatches the parsed command to the corresponding handler.

Functions

@spec dispatch(Nexus.CLI.t(), Nexus.Parser.result()) ::
  :ok | {:error, Nexus.CLI.error()}

Dispatches the parsed command to the corresponding handler.