ajv-validator / ajv-validator/ajv-cli

Must you write code to get support for custom keywords/formats? [workaround available]

未关闭
#128 11 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
316
派生
77
PR 合并指标
30 天内没有已合并 PR

描述

Since this is a cli I was hoping I could just reference a `keywords.txt` file or `formats.txt` file, but it doesn't appear that's an option.

I'll try try to follow an example from the ajv-keywords repo.

Perhaps I could even tie together a text file option once I've figured this out a little bit more.

UPDATE: 2021/05/05 For those with a similar question, I've written an npm package to address this (although not with a lot of flexibility). The details are below in this [comment](https://github.com/ajv-validator/ajv-cli/issues/128#issuecomment-820381362)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。