-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds "diff-spec" command that diffs any two models and summarizes changes between them. Depth of details is configurable and output is a color-coded summary. Without arguments, diffs the current model against the previous model. With arguments you may specify the from/to models either as a spec version or specific model or element object. Logic is also available as an API in the model package. Upgrades CLI input parsing to support non-boolean arguments and typed argument access. Converts other commands to use new API. Adds support for running commands directly from command line so you can do e.g. `matter diff-spec`. Implements general `FieldValue.cast` function that maps cast to proper type-specific implementation. Adds "added" and "deleted" diagnostic display formats.
- Loading branch information
Showing
20 changed files
with
766 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.