Hierarchy

  • Omit<FindAndReplaceInGithubFileOptions, "repo">
    • FindAndReplaceInAllRepositoriesOptions

Properties

commitMessage: string

The commit message for the changes.

delayInMs?: number

Delay in milliseconds between requests to the GitHub API.

octokit: Octokit & {
    paginate: PaginateInterface;
} & RestEndpointMethods & Api

Octokit instance for interacting with the GitHub API

Type declaration

  • paginate: PaginateInterface
onError?: ((error) => void)

Type declaration

    • (error): void
    • Callback function for handling errors.

      Parameters

      • error: Error

      Returns void

owner: string

Owner of the GitHub repositories

path: string

The file path in the repository to find and replace text in.

regex: RegExp

The regular expression used to find the text to be replaced.

replacement: string

The text that will replace the text found using the regex.

Generated using TypeDoc