Learn you some CUE for a great good!
CUE is an open source language with a rich set of APIs and tooling for defining, generating, and validating all kinds of data: configuration, APIs, database schemas, code, … you name it. ~ cuelang.org
About this tutorial
Welcome to Cuetorials where you can learn you some CUE for great good! We hope this site will help you get started with Cuelang (CUE) and become an invaluable resource as you continue to learn and grow your CUE usage. Cuetorials was created to deepen our own understanding and to share the learnings with everyone else.
Much credit must be given to Marcel van Lohuizen, the creator of Cue. Marcel helped create the major configuration systems at Google. He said they always chose the object-oriented approach while the logical, non-programming CUE approach is the correct choice for these systems. His unique experiences give him the perspective to create an effective and efficient language for configuration, data, schemas, transformations, and much more.
When you see "CUE" or "Cuelang" we are referring to the language.
When you see "cue" we are referring the CLI implementation in Go.
Introduction
a one pager about CUE
Overview of CUE's concepts and syntax
- Foundations
- Types and Values
- Expressions
- Scopes and Visibility
- CUE's cli commands
- Standard Library
- Integrations
- Who's Using CUE
First Steps to adopting CUE
- Validate Configuration
- Import Configuration
- Convert JSON Schema
- Generate Configuration
- Modules and Packages
- Scripting with Cue
- Generate All The Things
- Recommendations
Useful Patterns and more complex CUE
- Field Patterns
- The Function Pattern
- Unique List
- Required List Element
- Switch Statement
- Validators
- Injecting values
- Scripts & Tasks
Deep Dives on topics in CUE
The Go API for working with CUE from Go
Walkthroughs for tasks in CUE
Cueology for aspiring Cueologists
Miscellaneous and other uncategorized content
Videos about CUE
Jobs involving CUE
Getting Help and support for CUE