#!/bin/sh
# Thin client. All state lives in the daemon; this connects, speaks one verb, exits.
#
# Note this imports and calls rather than using `python3 -m lnp.cli`. In the
# Nuitka-compiled package lnp.cli is a native .so, and runpy cannot execute an
# extension module as __main__ ("No code object available"). Importing works
# identically for both builds.
exec python3 -c 'import sys; from lnp.cli import main; sys.exit(main())' "$@"
