diplodoc-platform / diplodoc-platform/cli
[WIP] Implement extensions API
Open
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
Assessment
This issue has not been assessed yet.