Skip to content

Commit a6f60c2

Browse files
committed
Update documentation for samm-cli aspect edit move command
1 parent 8b0bb48 commit a6f60c2

File tree

1 file changed

+14
-0
lines changed
  • documentation/developer-guide/modules/tooling-guide/pages

1 file changed

+14
-0
lines changed

documentation/developer-guide/modules/tooling-guide/pages/samm-cli.adoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,20 @@ The available options and their meaning can also be seen in the help text of the
171171
| _--custom-resolver_ : use an external resolver for the resolution of the model elements |
172172
| _--aspect-data, -a_ : path to a JSON file containing aspect data corresponding to the
173173
Aspect Model |
174+
.5+| [[aspect-edit-move]] aspect <model> edit move <element> [<namespace>] | Move a model element definition from its
175+
current place to another existing or new file in the same or another namespace. | `samm aspect AspectModel.ttl edit move
176+
MyAspect otherFile.ttl` or `samm aspect
177+
AspectModel.ttl edit move MyAspect
178+
someFileInOtherNamespace.ttl
179+
urn:samm:org.eclipse.example.myns:1.0.0`
180+
| _--dry-run_ : Don't write changes to the file system, but print a report of changes
181+
that would be performed. |
182+
| _--details_ : When used with `--dry-run`, include details about model content
183+
changes in the report . |
184+
| _--copy-file-header_ : When a model element is moved to a new file, copy the file
185+
header from the source file to the new file |
186+
| _--force_ : When a new file is to be created but it already exists in the file system,
187+
the operation will be cancelled, unless `--force` is used. |
174188
.3+| [[aas-to-aspect]] aas <aas file> to aspect | Translate Asset Administration Shell (AAS) Submodel Templates to
175189
Aspect Models | `samm aas AssetAdminShell.aasx to aspect`
176190
| _--output-directory, -d_ : output directory to write files to (default:

0 commit comments

Comments
 (0)