esdb_gater_repl (reckon_gater v1.3.0)

View Source

Interactive REPL for reckon-gater

Provides an interactive shell for exploring event stores, streams, causation chains, and temporal queries.

Start the REPL:

  esdb_gater_repl:start().                %% No store selected
  esdb_gater_repl:start(my_store).        %% With store pre-selected

Commands:

  STORE COMMANDS
    stores              List all stores
    use STORE           Set current store context
 
  STREAM COMMANDS
    streams             List streams in current store
    stream STREAM       Set current stream context
    read [N]            Read N events from current stream (default 10)
    read STREAM [N]     Read N events from specified stream
    version             Get version of current stream
    version STREAM      Get version of specified stream
 
  CAUSATION COMMANDS
    effects ID          Get events caused by event ID
    cause ID            Get event that caused this event
    chain ID            Get full causation chain
    graph ID            Build causation graph
    dot ID FILE         Export causation graph as DOT file
 
  TEMPORAL COMMANDS
    until TS            Read events until timestamp
    range T1 T2         Read events in time range
 
  SCHEMA COMMANDS
    schemas             List all schemas
    schema TYPE         Get schema for event type
 
  SUBSCRIPTION COMMANDS
    subscriptions       List all subscriptions
    subscription NAME   Get subscription details
 
  HEALTH COMMANDS
    health              Gateway health status
    memory              Memory statistics
 
  OTHER
    help, h, ?          Show help
    exit, quit, q       Exit REPL

Summary

Functions

Start the REPL without a store selected

Start the REPL with a store pre-selected

Functions

graph_to_dot(_)

start()

-spec start() -> ok.

Start the REPL without a store selected

start(Store)

-spec start(atom() | undefined) -> ok.

Start the REPL with a store pre-selected