TypeDoc API
    Preparing search index...

    Function buildWorkflows

    • 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.

      Parameters

      • inputPath: string

        Definition of the inputs. Can be a path to a single workflow file, a directory containing multiple workflow files, or a glob pattern.

      • outDir: string

        The directory where the built workflows will be saved.

      • watch: boolean

        Whether to watch for changes in the input files.

      Returns Promise<void>

      A promise that resolves when the workflows are built.

      If no workflow files are found in the input path.