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

    Function copyModifiedEnv

    • Copy entries from a source .env file to a destination .env file, but only for the keys specified in keepKeys. Will also modify entries in the destination .env file as specified in modifyEntries.

      Parameters

      • sourcePath: string

        The path to the source .env file

      • destinationPath: string

        The path to the destination .env file

      • keepKeys: string[]

        The keys to keep from the source .env file

      • OptionalmodifyEntries: StringKeyedDictionary

        The entries to modify in the destination .env file

      Returns Promise<void>