Skip to content

Examples

These examples are taken straight from the questions CLDK’s own test suite asks of real projects, so every snippet reflects behavior the SDK actually guarantees, not a hand-wave. They’re grouped by task and run against the recurring samples used across these docs: Apache Commons CLI for Java and a generic my_pkg for Python.

Each example mirrors an assertion in the SDK test suite (python-sdk/tests/). If you want the canonical method list instead of worked snippets, see the API reference; for the conceptual model behind them, read Core concepts.