Ability to run builtin validation checks via CLI
See original GitHub issueOverview
We have builtin checks in the framework which is not enabled by default - https://framework.frictionlessdata.io/docs/guides/validation-checks#table-dimensions. We want a way to enable them via CLI.
I think in general we need to provide a JSON interface to do so. It will be a universal way that supports all the builtin checks and all the enabled via plugins custom checks.
$ frictionless validate table.csv --checks '[{"code": "table-dimensions", "numRows": 10}]'
On the other hand, we might need to provide some shortcuts for most common conditions (again similar for the dialect API). For example:
$ frictionless validate table.csv --forbidden-values 'columnName:value1,value2,value3' --formula 'columnX > columnY`
@shashigharti @aivuk Let’s discuss what options we’d like to expose
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:6 (6 by maintainers)
Top Results From Across the Web
CLI - Open Policy Agent
The 'run' command can ONLY be used with the –bundle flag to verify signatures for existing bundle files or directories following the bundle...
Read more >Command: validate | Terraform - HashiCorp Developer
Validate runs checks that verify whether a configuration is syntactically valid and internally consistent, regardless of any provided variables or existing ...
Read more >Validate the Configuration of a Debugging Engine - JetBrains
PhpStorm can validate your configuration of Xdebug or Zend Debugger and tell you if some setting is missing or inconsistent with other settings....
Read more >ASK CLI Command Reference | Alexa Skills Kit
High-level commands simplify working with your Alexa skill projects by abstracting details and performing multiple actions. Start with these commands if you are ......
Read more >Redocly CLI
An unbundled definition is far easier to edit and check for duplicates. Our Redocly CLI lets you quickly validate and lint a multi-file...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@aivuk @shashigharti @aborruso
Human readable syntax brainstorming:
@aivuk The default JSON interface is still good to have as:
dialect/etc
Another question is that the second way of providing checks might be exactly as you suggest. Of course, it will require some smart CLI coding:
OR
… [alternatives]