def stem
import ezx@1.11.0.0/src/tool/plan.bend as Planimport Base
import ezx@1.11.0.0/src/pkg/path.bend as Path
588# a file's last component without its `.bend`: `src/cli.bend` is `cli`
589def stem(+file: String) -> String:
590 Path.unbend(Path.base(file))