#!/bin/sh

set -eu

SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$SCRIPT_DIR"

if [ "$#" -ne 1 ]; then
  echo "usage: $0 <entity-id>" >&2
  exit 1
fi

item_id="$1"

exec cncf command \
  crud.entity.load-item \
  --id "${item_id}"
