Function runMistiCommand

  • Runs the Misti CLI command with the provided arguments.

    Note: This function throws internal exceptions. Handle exceptions appropriately when calling this function.

    Parameters

    • args: string[]

      The list of arguments to pass to the CLI command.

    • command: Command = ...

      Optional pre-configured Command instance. Defaults to createMistiCommand().

    Returns Promise<[Driver, Result]>

    The created Driver instance and the result of execution.