Documentation
¶
Overview ¶
Command clientexercise is mission #1625's exercise, `make exercise-clients` (agni issue 1628). It starts one `agni serve` as a shared server would run: with a store, --auth tokens, and TLS from a certificate a test CA signed. It makes a token with `agni token create`, and runs each language's client example against it with the token in AGNI_TOKEN and the CA's file in AGNI_CA (agni issues 1627 and 1765). Each example prints one line of JSON summing up its answers, and each line must match the CLI's answers on the same design. It prints a step table, one row per language, and writes it to -out. A language whose example does not exist yet waits on its ticket.
Each example is clients/examples/<language>/run, taking -server and -design. docsite/content/build/client-contract.md says what the line holds.