docs: fix details in programming guide
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
parent
a28d56657e
commit
f2ffbcb0fd
@ -21,7 +21,12 @@ Cue extends JSON with powerful features:
|
|||||||
* Data composition with references and string interpolation
|
* Data composition with references and string interpolation
|
||||||
* Multi-line strings, string interpolation
|
* Multi-line strings, string interpolation
|
||||||
|
|
||||||
To learn the basics of Cue, we recommend following the tutorials at [Cuetorials](https://cuetorials.com).
|
To get started with Cue, we recommend the following resources:
|
||||||
|
|
||||||
|
* [Cuetorials](https://cuetorials.com)
|
||||||
|
* [Cue playground](https://cuelang.org/play/)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Writing your first plan
|
## Writing your first plan
|
||||||
|
|
||||||
@ -31,7 +36,7 @@ To create a Dagger plan:
|
|||||||
|
|
||||||
For example: `mkdir staging`.
|
For example: `mkdir staging`.
|
||||||
|
|
||||||
2. Create a new file with the `.cue` extension, and open it with any text editor or IDE.
|
2. Create a new file with the *.cue* extension, and open it with any text editor or IDE.
|
||||||
|
|
||||||
For example: `staging.cue`.
|
For example: `staging.cue`.
|
||||||
|
|
||||||
@ -40,7 +45,7 @@ For example: `staging.cue`.
|
|||||||
For example:
|
For example:
|
||||||
|
|
||||||
```
|
```
|
||||||
package staging
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"dagger.io/docker"
|
"dagger.io/docker"
|
||||||
|
Reference in New Issue
Block a user