การเรนเดอร์th-TH

argumenta

Translation status: ภาษาไทย reader-locale proof. Code fences render through the th-TH pipeline; prose is canonical Latin.

Binds command-line arguments for an entry point.

Syntax: incipit argumenta <name> <block> | functio <name>() argumenta <name> <block>

Category#

entry

Examples#

radix/corpus/argumenta/argumenta.fab (canonical · keyword)#

Binds command-line arguments for an entry point.

# =============================================================================
# argumenta — Binds command-line arguments for an entry point.
# =============================================================================
#
# What this teaches:
#   • CLI entry binding — `incipit argumenta <name>` declares a program entry
#     that receives command-line arguments
#   • Annotation-driven CLI — `@ cli`, `@ descriptio`, and `incipit argumenta`
#     work together to define a structured CLI interface
#
# Common mistakes:
#   • attaching `@ cli` to a `functio` instead of an `incipit` (SEM009), or forgetting to annotate with `@ cli` before `incipit argumenta`
#
# See also: incipit, cli, imperium, optio, operandus
# =============================================================================

# argumenta — CLI entry operand binding
#
# GRAMMAR:
#   entryDecl :← 'incipit' 'argumenta' ident block
#
# EXPECTED OUTPUT:
#   No incipit — declaration or test-runner surface only.
#
# BACKEND:
#   declaration-only CLI entry (whitelist: argumenta/argumenta.fab).
#

@ cli "argumenta-smoke"
@ description "argumenta exemplum"
main args args {
}