đối_số
Translation status: Tiếng Việt reader-locale proof. Term names and code fences follow the vi pack; supporting prose may still be English.
Binds command-line arguments for an entry point.
Syntax: bắt_đầu đối_số <name> <block> | hàm <name>() đối_số <name> <block>
Category#
entry
Related#
Examples#
radix/corpus/argumenta/argumenta.fab (canonical · keyword)#
Binds command-line arguments for an entry point.
# =============================================================================
# đối_số — Binds command-line arguments for an entry point.
# =============================================================================
#
# What this teaches:
# • CLI entry binding — `bắt_đầu đối_số <name>` declares a program entry
# that receives command-line arguments
# • Annotation-driven CLI — `@ cli`, `@ mô_tả`, and `bắt_đầu đối_số`
# work together to define a structured CLI interface
#
# Common mistakes:
# • attaching `@ cli` to a `hàm` instead of an `bắt_đầu` (SEM009), or forgetting to annotate with `@ cli` before `bắt_đầu đối_số`
#
# See also: bắt_đầu, cli, lệnh, tùy_chọn, toán_hạng
# =============================================================================
# đối_số — CLI entry operand binding
#
# GRAMMAR:
# entryDecl :← 'bắt_đầu' 'đối_số' ident block
#
# EXPECTED OUTPUT:
# No bắt_đầu — declaration or test-runner surface only.
#
# BACKEND:
# declaration-only CLI entry (whitelist: đối_số/argumenta.fab).
#
@ cli "argumenta-smoke"
@ description "argumenta exemplum"
main args args {
}