NEW Workflows: agents follow the steps, you sign off. Read more →
Ulpi

doca-argp

SKILL

Trigger on implicit phrasings: "add a custom flag to a DOCA sample", "should I use getopt here", "BAD_STATE registering a new param", "my JSON config key is rejected".

What it does

Trigger on implicit phrasings: "add a custom flag to a DOCA sample", "should I use getopt here", "BAD_STATE registering a new param", "my JSON config key is rejected", or "my sample's --json is ignored". Refuse and route elsewhere for variadic-flag / subcommand / shell-completion features, DOCA Core context, or DOCA Log internals.

How to set it up

  1. Use this skill for hands-on DOCA Arg Parser CLI work on a shipped sample or new DOCA-using app — adding / removing / renaming flags; wiring → register params → → in order; picking a parameter type from the full public enum (,,,,, — six values, not three); preserving the built-in DOCA flags ( /, NOT ); is per-program; or debugging / / / from.

    doca_argp_init
    doca_argp_start
    doca_argp_destroy
    DOCA_ARGP_TYPE_STRING
    _INT
    _BOOLEAN
    _DEVICE
    _DEVICE_REP
    _DOUBLE
    -h
    -v
    -l
    --sdk-log-level
    --log-filter
    -j
    --json
    --json-config
    --device
    DOCA_ERROR_BAD_STATE
    INVALID_VALUE
    NOT_SUPPORTED
    IO_FAILED
    doca_argp_*

More in Networking

All listings →