rev-dep 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/cli/docs/template.js +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -379,7 +379,8 @@ rev-dep resolve <filePath> [entryPoints...] [options]
|
|
|
379
379
|
|
|
380
380
|
#### Arguments
|
|
381
381
|
|
|
382
|
-
- `filePath` - Path to a file that should be resolved in entry points (**required**)
|
|
382
|
+
- `filePath` - Path to a file that should be resolved in entry points (**required**)
|
|
383
|
+
- `entryPoints...` - List of entry points to look for file (_optional_)
|
|
383
384
|
|
|
384
385
|
#### Options
|
|
385
386
|
|
|
@@ -29,9 +29,11 @@ function template(commands, headerLevel) {
|
|
|
29
29
|
]))}
|
|
30
30
|
${cmd.arguments.length > 0 ? header(headerLevel + 1, 'Arguments') : ''}
|
|
31
31
|
|
|
32
|
-
${cmd.arguments
|
|
32
|
+
${cmd.arguments
|
|
33
|
+
.map(({ name, required, description }) => (0, dedent_1.default) `
|
|
33
34
|
* ${code(name)} - ${description} (${required ? requiredStr : optionalStr})
|
|
34
|
-
`)
|
|
35
|
+
`)
|
|
36
|
+
.join('\n')}
|
|
35
37
|
|
|
36
38
|
${cmd.options.length > 0 ? header(headerLevel + 1, 'Options') : ''}
|
|
37
39
|
|