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
{{ message }}
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
Merge `<kind>.schema` and `<kind>[.<locale>].uischema` definitions from a project and its dependencies into a single .schema for describing .dialog files and a per locale .uischema for describing how Composer shows them. For C#, ensures all nuget declarative resources in ExportedAssets are copied to ImportedAssets in the same location.
39
+
Merge `<kind>.schema` and `<kind>[.<locale>].uischema` definitions from a project and its dependencies into a single .schema for describing .dialog files and a per locale .uischema for describing how Composer shows them. If a dependent package has an ExportedAssets directory it is copied to ImportedAssets/<package> in the --imports directory.
40
40
41
41
```
42
42
USAGE
@@ -52,6 +52,9 @@ OPTIONS
52
52
-v, --verbose Show verbose logging of files as they are processed.
53
53
--extension=extension [default: .dialog,.lg,.lu,.schema,.qna,.uischema] Extension to include as a resource for C#.
54
54
55
+
--imports=imports Output path for imported assets. Defaults to the directory of --out with an ImportedAssets
staticdescription='Merge `<kind>.schema` and `<kind>[.<locale>].uischema` definitions from a project and its dependencies into a single .schema for describing .dialog files and a per locale .uischema for describing how Composer shows them. For C#, ensures all nuget declarative resources in ExportedAssets are copied to ImportedAssets in the same location.'
10
+
staticdescription='Merge `<kind>.schema` and `<kind>[.<locale>].uischema` definitions from a project and its dependencies into a single .schema for describing .dialog files and a per locale .uischema for describing how Composer shows them. If a dependent package has an ExportedAssets directory it is copied to ImportedAssets/<package> in the --imports directory.'
11
11
12
12
staticargs=[
13
13
{name: 'patterns',required: true,description: 'Any number of glob regex patterns to match .csproj, .nuspec or package.json files.'},
extension: flags.string({description: 'Extension to include as a resource for C#.',required: false,multiple: true,default: ['.dialog','.lg','.lu','.schema','.qna','.uischema']}),
21
21
help: flags.help({char: 'h'}),
22
22
nugetRoot: flags.string({description: 'Nuget root directory for debugging.',hidden: true}),
23
+
imports: flags.string({description: 'Output path for imported assets. Defaults to the directory of --out with an ImportedAssets directory.',required: false}),
23
24
output: flags.string({char: 'o',description: 'Output path and filename for merged .schema and .uischema. Defaults to first project name.',required: false}),
24
25
schema: flags.string({char: 's',description: 'Path to merged .schema file to use if merging .uischema only.',required: false}),
25
26
verbose: flags.boolean({char: 'v',description: 'Show verbose logging of files as they are processed.',default: false}),
Copy file name to clipboardExpand all lines: packages/dialog/test/commands/dialog/npm/node_modules/root-package/node_modules/dependent-package/exportedAssets/assets/dependent-package.jpg
Copy file name to clipboardExpand all lines: packages/dialog/test/commands/dialog/npm/node_modules/root-package/node_modules/dependent-package/exportedAssets/dependent-package.dialog
Copy file name to clipboardExpand all lines: packages/dialog/test/commands/dialog/npm/node_modules/root-package/node_modules/dependent-package/exportedAssets/dependent-package.lg
Copy file name to clipboardExpand all lines: packages/dialog/test/commands/dialog/npm/node_modules/root-package/node_modules/dependent-package/exportedAssets/dependent-package.lu
Copy file name to clipboardExpand all lines: packages/dialog/test/commands/dialog/npm/node_modules/root-package/node_modules/dependent-package/exportedAssets/dependent-package.qna
0 commit comments