Decision display choices

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_decision_display_choices

Purpose

Build the short, slash-separated display text for available decisions.

Arguments

  • $1 — choice specification with comma-separated groups.

Output

Prints the first alias from each group separated by slashes.

Returns

  • 0 when printed.

Usage

  sgnd_decision_display_choices "Yes|Y,No|N,Cancel|C"