Cli.event_inherited: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 3028-3036 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=3028&end_line=3036 import Base # An arg's hits from before the scan enters a subcommand stay only when the # scope being left passes the arg down as a global (SPEC 8.4); operands, # entries, help and version stay. def event_inherited(found: Maybe<&2, String>, +globals: List<&2, SpecItem>) -> Bool: match found: case None{}: True{} case Some{id}: Maybe.is_some(&2, ArgInfo, find_spec_info(globals, id, None{})) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.is_some https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=ArgInfo https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=SpecItem https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=find_spec_info