#!/usr/bin/env bash
# commands/logs/logs.sh — router only

function cmd::logs::on_load() {
  command::helpers "helpers.sh"
  command::define show   "Show WireGuard and firewall logs"  [*]
  command::define clean  "Remove keepalive handshakes"       [c]
  command::define remove "Remove log entries"                [rm, del]
  command::define rotate "Remove entries older than N days"
}

hook::on "command:help:logs" command::help::auto