def decide.name
import ezx@1.11.0.0/src/tool/plan.bend as Planimport Base
import ezx@1.11.0.0/src/tool/world.bend as TW
925# a name that could not name a file is refused
926def decide.name(ok: Bool, +world: TW.World) -> Verdict:
927 match ok:
928 case True{}:
929 decide.file(file.asks(world), world)
930 case False{}:
931 Stop{"ez: " ++ label(world) ++ name.what(world) ++ name.raw(world) ++
932 ", which is not a TOML bare key"}