@mikeyt23/node-cli-utils
    Preparing search index...

    Function copyDirectoryContents

    • Copies the contents of a directory to another directory (not including the top-level directory itself). Optionally pass a list of file or directory names to skip using CopyDirectoryOptions -> exclusions.

      If the destination directory does not exist, it will be created.

      Parameters

      • sourceDirectory: string

        Directory to copy from

      • destinationDirectory: string

        Directory to copy to

      • Optionaloptions: Partial<CopyDirectoryOptions>

      Returns Promise<void>