056 user defined flags

✓ Passing This code compiles and runs correctly.

Code

input.kz

Flows

flow ~flag.declare click a branch to expand · @labels scroll to their anchor
flag.declare (source: "name": "my-custom-flag", "description": "A custom flag defined in user code", "type": "boolean")
flow ~flag.declare click a branch to expand · @labels scroll to their anchor
flag.declare (source: "name": "optimization-level", "description": "Set optimization level (0-3)", "type": "string")
flow ~main click a branch to expand · @labels scroll to their anchor
main

Test Configuration

Post-validation Script: