You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/cli/src/index.ts
+13-3
Original file line number
Diff line number
Diff line change
@@ -26,15 +26,25 @@ cli
26
26
.argument('<name>','The name of the package')
27
27
.option(
28
28
'-s, --scope [scope]',
29
-
'The npm scope of the new package. Defaults to the first entry in lg.config.json scopes',
29
+
`The npm scope of the new package. Valid scopes are defined in the \`package.json\` \`"lg.scopes"\` property. Defaults to the first entry in \`lg.scopes\`. The directory is determined by the mapping defined in \`lg.scopes\``,
30
30
)
31
31
.option(
32
32
'-d, --directory [directory]',
33
-
'The directory to write the new package. Defaults to the first entry in lg.config.json scopes',
33
+
`The directory to write the new package. Defaults to mapped directory of \`--scope\``,
34
34
)
35
35
.option(
36
36
'-p, --parent [parent]',
37
-
'Creates a sub-component to the provided parent',
37
+
'Identifies the parent component of the new component. Creates a sub-component to the provided parent.',
38
+
)
39
+
.option(
40
+
'-v, --verbose',
41
+
'Prints additional information to the console',
42
+
false,
43
+
)
44
+
.option(
45
+
'-d, --dry',
46
+
'Run without making any changes to the filesystem',
0 commit comments