العرضar

وسائط

Translation status: العربية reader-locale proof. Term names and code fences follow the ar pack; supporting prose may still be English.

Binds command-line arguments for an entry point.

Syntax: بداية وسائط <name> <block> | دالة <name>() وسائط <name> <block>

Category#

entry

Examples#

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

Binds command-line arguments for an entry point.

# =============================================================================
# وسائط — Binds command-line arguments for an entry point.
# =============================================================================
#
# What this teaches:
#   • CLI entry binding — `بداية وسائط <name>` declares a program entry
#     that receives command-line arguments
#   • Annotation-driven CLI — `@ cli`, `@ وصف`, and `بداية وسائط`
#     work together to define a structured CLI interface
#
# Common mistakes:
#   • attaching `@ cli` to a `دالة` instead of an `بداية` (SEM009), or forgetting to annotate with `@ cli` before `بداية وسائط`
#
# See also: بداية, cli, أمر, خيار, معامل
# =============================================================================

# وسائط — CLI entry operand binding
#
# GRAMMAR:
#   entryDecl :← 'بداية' 'وسائط' ident block
#
# EXPECTED OUTPUT:
#   No بداية — declaration or test-runner surface only.
#
# BACKEND:
#   declaration-only CLI entry (whitelist: وسائط/argumenta.fab).
#

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