Renderingen-US

Experimental through version 1. Version 0 was alpha. This is the first language release: the interface is relatively stable, not frozen. Nothing is promised stable until version 2.

version

Translation status: English reader-locale proof. Term names and code fences follow the en pack; supporting prose may still be English.

Attaches a version string to a CLI root.

Syntax: @ version <string>

Category#

cli

Examples#

radix/corpus/meta/versio.fab (canonical · annotation)#

Attaches a version string to a CLI root.

# =============================================================================
# version — Attaches a version string to a CLI root.
# =============================================================================
#
# What this teaches:
#   • the `@version` annotation — attaches a semantic version string to a CLI application
#   • combining with `@cli` and `@description` for complete CLI metadata
#
# Common mistakes:
#   • Applying @ version without @ cli — @ version only has meaning when attached to a CLI main.
#
# See also: cli, description
# =============================================================================

# meta/versio — CLI version annotation
#
# GRAMMAR:
#   annotation :← '@' 'version' stringLit
#
# EXPECTED OUTPUT:
#   none — the runner executes the entry and prints nothing; empty golden.
#
# BACKEND:
#   declaration-only CLI metadata (whitelist: meta/versio.fab).

@ cli "versio-smoke"
@ version "0.1.0"
@ description "Version metadata exemplum"
main args args {
}