#compdef build-dir

_arguments \
  '(-h --help)'{-h,--help}'[]' \
  '--build[invoke a build after selection]' \
  '1:directory:_files'