DOCA Arg Parser — разбор CLI в приложениях NVIDIA DOCA

★ 7.6 · content

doca-argp is a Claude Code skill that supports hands-on work with DOCA Arg Parser, the standard CLI library for applications built on NVIDIA's DOCA SDK. It covers the complete lifecycle — `doca_argp_init` → parameter registration → `doca_argp_start` → `doca_argp_destroy` — along with all six parameter types (`DOCA_ARGP_TYPE_STRING`, `_INT`, `_BOOLEAN`, `_DEVICE`, `_DEVICE_REP`, `_DOUBLE`), the standard flag surface (`--device`, `--representor`, `--json`, `--sdk-log-level`), and error diagnosis for `DOCA_ERROR_BAD_STATE`, `INVALID_VALUE`, `NOT_SUPPORTED`, and `IO_FAILED`. Use it when adding a custom flag to a DOCA sample without breaking existing CLI behavior, debugging why a JSON config key is rejected, or tracing a `BAD_STATE` from a `doca_argp_param_set_*` call made after parsing has already started. Requires DOCA SDK installed at `/opt/mellanox/doca` on Linux (Ubuntu 22.04/24.04 or RHEL/SLES) with a BlueField DPU or ConnectX NIC; not applicable to tools that never call any `doca_*` symbol.