@tikoci/centrs
    Preparing search index...

    Function assertOfflineSyntax

    • Run the offline stage over a RouterOS CLI string.

      Throws validation/syntax when the analyzer rejects the input; returns the verdict otherwise. Never opens a connection and never throws for any other reason — explainCommand itself is documented as total.

      surface names the caller in the error context (execute, api /execute) so a reader can tell which command's gate spoke; via is the resolved protocol when the caller has one, purely for context.

      Parameters

      • command: string
      • options: { surface: string; via?: string }

      Returns OfflineGateResult