全局
Translation status: 简体中文 reader-locale proof. Term names and code fences follow the zh-Hans pack; supporting prose may still be English.
Marks an option or operand as global.
Syntax: 全局
Category#
cli
Related#
Examples#
radix/corpus/ubique/ubique.fab (canonical · keyword)#
Marks an option or operand as global.
# =============================================================================
# 全局 — Marks an option or operand as global.
# =============================================================================
#
# What this teaches:
# • Global CLI flags — `全局` marks options available at any command level
# • CLI metadata — combining `@ cli`, `@ 选项`, and `全局` for rich command definitions
#
# Common mistakes:
# • confusing 全局 (global CLI flag marker) with 操作数 (positional argument) — 全局 applies only to option declarations
#
# See also: 选项, 操作数
# =============================================================================
# 全局 — global CLI option flag
#
# GRAMMAR:
# annotationFlag :← '全局'
#
# EXPECTED OUTPUT:
# No 入口 — declaration or test-runner surface only.
#
# BACKEND:
# declaration-only CLI metadata (whitelist: 全局/ubique.fab).
#
@ 命令行 "ubique-smoke"
@ option verbose short "v" long "verbose" type bool global description "Global verbose flag"
main args args {
}