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.

global

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

Marks an option or operand as global.

Syntax: global

Category#

cli

Examples#

radix/corpus/reference/keyword/ubique/ubique.fab (canonical · keyword)#

Marks an option or operand as global.

# =============================================================================
# global — Marks an option or operand as global.
# =============================================================================
#
# What this teaches:
#   • Global CLI flags — `global` marks options available at any command level
#   • CLI metadata — combining `@ cli`, `@ option`, and `global` for rich command definitions
#
# Common mistakes:
#   • confusing global (global CLI flag marker) with operand (positional argument) — global applies only to option declarations
#
# See also: option, operand
# =============================================================================

# global — global CLI option flag
#
# GRAMMAR:
#   annotationFlag :← 'global'
#
# EXPECTED OUTPUT:
#   none — the runner executes the entry and prints nothing; empty golden.
#
# BACKEND:
#   declaration-only CLI metadata (whitelist: global/ubique.fab).
#

@ cli { name = "ubique-smoke" }
@ option { binding = verbose, short = "v", long = "verbose", type = bool, description = "Global verbose flag", global = true }
main args args {
}