-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(generate:entrypoints): Support output filename customization (#2…
…0593) Adds new flags to the `generate:entrypoints` command that allow customization of the filename used for each `ApiLevel`. These flags are combined with the existing prefix/suffix flags to build the final file names. For example, consider the following command: ``` flub generate entrypoints --outDir ./api-report --outFilePrefix {@unscopedPackageName}- --outFileAlpha legacy --outFileBeta b --outFilePublic p ``` Running that command on the tree package will output the following files: ``` INFO: Generating api-report/tree-p.d.ts INFO: Generating api-report/tree-b.d.ts INFO: Generating api-report/tree-legacy.d.ts ```
- Loading branch information
1 parent
3410f15
commit 4e94094
Showing
2 changed files
with
38 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters