Skip to content

Validate command not working #12

@Cmheidelberg

Description

@Cmheidelberg

The validate command could use a more robust documentation. "Validate the JSON obtained after creating one" is a bit vague. What is it validating for? How is it validating? This is ascertainable from the code but a standard user will probably not have access to the source code.

I'm assuming the command is referring to validating the file made from either initialize or push. However, if it it is referring to one of these commands then this should eventually be run automatically after one of those commands is called.

Also despite trying several times I could not get validate to actually run without crashing. This is one of the reasons im pushing for more documentation because I don't know how exactly this command is supposed to be used.

Finally, as I brought up in my notes about push it would be great to have better logging and error handling so the program can crash in a "nice" way if something goes wrong (or user error occurs). I've just copied my earlier examples for helpful types of things for the program to report.

  • "INFO: Converting ModelConfigEample.yaml into JSON"
  • "ERROR: Could not find C:/Users/Admin/ModelCatalogInsertion/test.yaml"
  • "INFO: Generated transformed_json.json"
  • "Success"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions