refactor notrunc in commands.go to add names support