def non_command
import cli@0.2.0.0/cli.bend as Cliimport Base
4853def non_command(keys: List<&2, String>, +items: List<&2, Item>) ->
4854 Maybe<&2, String>:
4855 match keys:
4856 case Nil{}: None{}
4857 case +key <> tail:
4858 Bool.pick(Maybe<&2, String>, route_key(key, items),
4859 non_command(tail, items), Some{key})