5 ms·
Here is an interesting example showing what it looks like: https://github.com/cuelang/cue/blob/e5d8d09b3ba2e4f48c84a3b5da2acbf0716379bf/doc/tutorial/kubernetes/
by noname120 7y ago
Here is an interesting example showing what it looks like: https://github.com/cuelang/cue/blob/e5d8d09b3ba2e4f48c84a3b5da2acbf0716379bf/doc/tutorial/kubernetes/manual/services/cloud.cue https://github.com/cuelang/cue/blob/e5d8d09b3ba2e4f48c84a3b5...
I used the following command on the cloned repository to find it[1]:
find . -iname '*.cue' | xargs ls -l | tr -s ' ' | cut -d ' ' -f5,9 | sort -n
[1] Note that 'find' has a '-printf' option which could have been used to simplify this one-liner.
- jontro 7y agoOr just search the files directly in github? Just type T and .cue
- antpls 7y agoIs the language supposed to "validate"? In this file, there is no constraint describing non-negative number or non-empty string, or ill-formed URL, or invalid number ports. EDIT : found it in the doc : https://cuelang.org/docs/usecases/validation/ https://cuelang.org/docs/usecases/validation/