diplodoc-platform / diplodoc-platform/cli

[WIP] Implement extensions API

Open
#507 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
123
Forks
51
Avg merge
10h 50m
Merged PRs (30d)
38

Description

# Work on description is in progress

Add new configuration prop `--extension `

Path can be absolute or relative to node_modules.

Extension is a module with default export.
Default export can implement one or more methods:

```ts
registerOptions(yargs): Promise | void {}

registerTransformer(cliConfig): Promise | void {}

registerIncluder(cliConfig): Promise | void {}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.