Support for YAML files in solutions and a solution fix
#316
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Added support for YAML files in solutions.
Added a new command,
solution fix
to make common changes to solutions.Details
solution init
, you can now provide a--yaml
flag, which will make the manifest saved in a YAML format. A solution can have only one manifest, either YAML or JSON (having both will produce an error)solution extend --add-xxx
, new objects are now added in the same format as the manifest. (You can also override this by specifying a--json
or--yaml
flag to get the object created with a different format; mostly for those who what to try the YAML format but not ready to switch the whole solution)--manifest-format=yaml|json
-- will rewrite your solution's manifest to the desired format--manifest-version
-- will convert and rewrite your manifest into the latest manifest version (1.1.0
from1.0.0
), adding the solution type as needed.Type of Change
Checklist