-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d02ec0e
commit a0c4f77
Showing
5 changed files
with
56 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import meow from 'meow' | ||
import {rinf} from '.' | ||
|
||
const cli = meow(` | ||
Usage | ||
$ libdeffix --dts {dts file path} --prefix {entry point prefix} | ||
Options | ||
--dts Target *.d.ts file path | ||
--prefix Entry point path prefix | ||
Examples | ||
$ libdeffix --dts ./typings/index.d.ts --prefix @qiwi/decorator-utils/target/es5 | ||
$ libdeffix --version | ||
$ libdeffix --help | ||
`, { | ||
flags: { | ||
dts: { | ||
type: 'string' | ||
}, | ||
prefix: { | ||
type: 'string' | ||
} | ||
} | ||
}) | ||
|
||
rinf(cli.flags) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from './fix' | ||
export * from './rinf' |
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