commit | 15fab6c9a5f4cd363bafc42450b78d59510fe4b5 | [log] [tgz] |
---|---|---|
author | Marcel van Lohuizen <mpvl@golang.org> | Wed Dec 19 08:51:47 2018 +0100 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Thu Dec 20 18:17:58 2018 +0100 |
tree | 161a3692ea15ed324a55e2747cb932befb87ca65 | |
parent | 02173f858926f4a25f77f31b8bb04d41698839b2 [diff] |
cmd/cue: some small improvements to output - output prints instance - simplified formatting - shorter error message Change-Id: I6201fba03a699bb053f97501a2321d695cb12715
Configure, Unify, Execute
CUE is an open source configuration language which aims to make complex configurations more manageable and usable.
CUE is a constrained-based language. Constraints provide a powerful yet simple alternative to inheritance, a common source of complexity with other configuration languages.
The CUE tooling also provides integrated declarative scripting aimed at simplifying putting configurations to good use while giving static analyis tools maximum domain knowledge.
Some highlights:
If you already have Go installed, the short version is:
go get -u cuelang.org/go/cmd/cue
This will install the cue
command line tool.
For more details see Installing CUE.
A demonstration of how to convert and restructure an existing set of Kubernetes configurations is available in written form.
Language Specification: official CUE Language specification.
API: the API on godoc.org
Builtin packages: builtins available from CUE programs
cue
Command line reference: the cue
command
Our canonical Git repository is located at https://cue.googlesource.com.
To contribute, please read the Contribution Guide.
Unless otherwise noted, the CUE source files are distributed under the Apache 2.0 license found in the LICENSE file.