This might be useful to someone.
When you run pkg upgrade, you get a plethora of packages, a list of both top level packages and their dependencies. But you want only the top packages, you often don't care about dependencies.
When you run pkg upgrade, you get a plethora of packages, a list of both top level packages and their dependencies. But you want only the top packages, you often don't care about dependencies.
pkg query -e '%a=0' '%n-%v' - only shows top level packages. You can then peruse that list, prune it, or do as you wish.