CTS / template

Command-Contract.md

Define arguments, output streams, exit codes and command behavior.

Useful when

My CLI interface is inconsistent.

Choose your situation

What you should change

Replace command names, arguments, envelopes and exit behavior.

Use only the parts that help. These are starting points, not rigid requirements.

View resource

Related resources

MIT license — copy, modify and redistribute; retain the notice.

Reviewed 2026-10-02. Canonical relative source: CTS/templates/Command-Contract.md. Examples are illustrative. A template or validator does not establish release readiness.

Snapshot SHA-256bfec7a634b2eef5e0aaed55fbb7d427c7be741eb0011b9e5fd097015821d0128