तर्क
Translation status: हिन्दी reader-locale proof. Term names and code fences follow the hi pack; supporting prose may still be English.
Binds command-line arguments for an entry point.
Syntax: आरंभ तर्क <name> <block> | फलन <name>() तर्क <name> <block>
Category#
entry
Related#
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 {
}