[NEOS-1577] Auto-generate CLI Config JSON Schema #2868
Labels
CLI
Created by Linear-GitHub Sync
enhancement
New feature or request
good first issue
Good for newcomers
Hacktober
Created by Linear-GitHub Sync
Would be awesome if we could have an auto-generated via
go generate
JSON schema for the CLI config yaml struct.cmdConfig
- https://github.com/nucleuscloud/neosync/blob/main/cli/internal/cmds/neosync/sync/sync.go#L76I think we will need to add
json
tags to the struct, but then we could use https://github.com/invopop/jsonschema to generate one and have it committed into the repo. This would be great for folks to add further validation to their configs.From SyncLinear.com | NEOS-1577
The text was updated successfully, but these errors were encountered: