versio
Translation status: हिन्दी reader-locale proof. Code fences render through the hi pipeline; prose is canonical Latin.
Attaches a version string to a CLI root.
Syntax: @ versio <string>
Category#
cli
Related#
Examples#
radix/corpus/meta/versio.fab (canonical · annotation)#
Attaches a version string to a CLI root.
# =============================================================================
# versio — Attaches a version string to a CLI root.
# =============================================================================
#
# What this teaches:
# • the `@versio` annotation — attaches a semantic version string to a CLI application
# • combining with `@cli` and `@descriptio` for complete CLI metadata
#
# Common mistakes:
# • Applying @ versio without @ cli — @ versio only has meaning when attached to a CLI incipit.
#
# See also: cli, descriptio
# =============================================================================
# meta/versio — CLI version annotation
#
# GRAMMAR:
# annotation :← '@' 'versio' stringLit
#
# EXPECTED OUTPUT:
# No incipit runtime — declaration-only CLI metadata.
#
# BACKEND:
# declaration-only CLI metadata (whitelist: meta/versio.fab).
@ cli "versio-smoke"
@ versio "0.1.0"
@ description "Version metadata exemplum"
main args args {
}