Research on plugin root validation approach #43
namit-chandwani
started this conversation in
Ideas
Replies: 1 comment
-
so here
In wrapper
@wtrocki can we decide which way to go? And how validation should work? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Plugin Research: Root Validation Approach
Details
Allow plugins to implement cobra structures and validate them on root.
Elements that can be validated on root:
go list -deps -f='{{if not .Standard}}{{.Module}}{{end}}' ./cmd/cli-name
intogo.mod
.Structure and Architecture
I'm currently trying to come up with a set of structure definitions with appropriate data fields which would help us in accomplishing the same.
Will edit out this part and add them over here in some time.
POC
Link (Still WIP)
Beta Was this translation helpful? Give feedback.
All reactions