doca-argp
Installation
SKILL.md
DOCA Arg Parser
Host checks. Commands here that inspect the user's DOCA host (listing or reading
/opt/mellanox/doca, release files such as/etc/mlnx-releaseor/etc/nvidia/bf-release,/dev/mst) or reach the BlueField (RShim, SSH, BMC) are for that host. Run them yourself only if the user confirms you are on it; otherwise answer from this skill, give the commands for the user to run, and treat values you can't see as unknown.
Examples
- "Add a custom flag to a DOCA sample." — this is in
scope. Register a typed
doca_argpparam; do not drop to getopt. - "BAD_STATE registering a new param." — check init → register → start order before changing the flag type.
Instructions
Follow Loading order below. Open the tasks companion for configure / register / debug. Open the capabilities companion for the public param types. Do not open every companion file.