Definition of the inputs. Can be a path to a single workflow file, a directory containing multiple workflow files, or a glob pattern.
The directory where the built workflows will be saved.
Whether to watch for changes in the input files.
A promise that resolves when the workflows are built.
This function builds workflows from the specified input path. It supports both single files and directories containing workflow files. If the input path is a directory, it recursively lists all files. The built workflows are saved in the specified output directory. If the watch option is enabled, it will watch for changes in the input files.