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
Users can use the --schema flag to point to a YAML file that works just like the current supported JSON file
Allow passing a path/to/schema.cfgu.yaml to the --schema flag of all the commands that support it
The structure of the new YAML-based schema mirrors that of the existing JSON-based schema
Motivation
YAML is a widely-used format known for its readability and ease of use. By supporting YAML-based ConfigSchema, we can enhance the flexibility and user-friendliness of our CLI, catering to a broader range of user preferences and workflows.
Context
Suggestions:
Add an helper method at the BaseCommand - getSchemaInstanceBySchemaFlag to handle all schema files types - same as for the stores
Suggestion
path/to/schema.cfgu.yaml
to the--schema
flag of all the commands that support itMotivation
YAML is a widely-used format known for its readability and ease of use. By supporting YAML-based
ConfigSchema
, we can enhance the flexibility and user-friendliness of our CLI, catering to a broader range of user preferences and workflows.Context
Suggestions:
getSchemaInstanceBySchemaFlag
to handle all schema files types - same as for the storesjs-yaml
to parse the file contents - https://npmtrends.com/js-yaml-vs-yaml-vs-yamljsReferences:
The text was updated successfully, but these errors were encountered: