dthree / dthree/vorpal

Run validation before any commands start running

Open
#100 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
5.6k
Forks
278
PR merge metrics
No merged PRs in 30d

Description

Let's say I have the following commands:

```
file-read test.json | transform | file-write test.csv
```

In this use-case, let's say I want to validate the file extension before running a command. I add the validate method, but it won't run until _after_ the whole file has been read in and transformed. In my use-case, that may take hours.

I'd like the validation to run immediately before any command starts running.

@dthree Any thoughts?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.