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.
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.
Param | Type | Description |
---|---|---|
options | PluginOptions | Plugin options to guide the creation of the README. |
deletedPaths | Array.<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);