fx list-packages

list packages are built

usage: fx list-packages [--base|--cache|--universe] [--verbose] [pattern]

list-packages lists the packages that the build is aware of. These are
packages that can be rebuilt, and/or pushed to a device.
If a pattern is supplied, only packages matching the pattern are listed.
Note: list-packages DOES NOT list all packages that could be built, only
those which are included in the current build configuration.

  --base      - list only packages in base
  --cache     - list only packages in cache
  --universe  - list all packages
  --verbose   - print package set for each listed package

See https://fuchsia.dev/fuchsia-src/development/build/boards_and_products
for more information about using these package sets.

list-packages source code