From 2e3a1d07b43e6e942e51ba263c6fcdc2351afc0d Mon Sep 17 00:00:00 2001 From: James O'Doherty Date: Fri, 22 May 2026 11:39:06 -0400 Subject: docs: add diagnostic commands to README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 650c3e6..d0a7622 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,12 @@ Beyond wrapping commands, `wg-wrap` provides management sub-commands to handle p - `wg-wrap profile configure `: Opens the selected profile in the system's default editor. - `wg-wrap profile delete `: Removes the specified profile. +### Diagnostics +For debugging and environment verification, `wg-wrap` provides diagnostic tools: +- `wg-wrap show-config [--profile ]`: Displays the current runtime configuration, including resolved paths for the runtime base directory and PID tracking, and verifies whether the process is currently isolated. +- `wg-wrap test-ns`: Verifies that the process is correctly isolated in a rootless network namespace. +- `wg-wrap test-args`: Outputs the current process arguments as hex-encoded strings to verify argument integrity through the bootstrap loop. + ## The Core Architecture The tool focuses on a direct, transparent data path: -- cgit v1.2.3