Skip to content

readme-manager

ReadmeManager

The ReadmeManager class provides functionalities to manage the README file of the project. It offers methods to create or update the README based on the provided arguments and configurations.

Kind: global class

readmeManager.create(options, deletedPaths) ⇒ Promise.<void>

Creates or updates the README file based on the provided arguments.

Kind: instance method of ReadmeManager
Returns: Promise.<void> - A promise that resolves once the README is created or updated.

ParamTypeDescription
optionsPluginOptionsPlugin options to guide the creation of the README.
deletedPathsArray.<string>An array of paths that were deleted, to be documented in the README.

Example

js
const readmeManager = new ReadmeManager();
await readmeManager.create(cliArgs, deletedPathsArray);
const readmeManager = new ReadmeManager();
await readmeManager.create(cliArgs, deletedPathsArray);

Released under the MIT License.