yamlexchange metamodel
Exports the metamodel information file (nd.metamodel.yaml) from the project profile.
The metamodel information file is the document passed to AI when it edits YAML files. It is also specified in --metamodel of yamlexchange validate.
Export is not possible if the profile is protected or in the Designer edition.
Returns (0) on successful export, (2) on failure.
Also displays a message in the console notifying the command execution result.
Syntax
yamlexchange metamodel --project <nproj> [--out <dir>] [--report <path>]
Options
-
--project <nproj>(required)
Specifies the Next Design project file (.nproj). -
--out <dir>
Specifies the export destination folder. If omitted, it will export to theYamlfolder in the same folder as the project file. -
--report <path>
Writes the execution results to a JSON file. See Execution Report for details.