Correct task syntax? #404
-
Hi there, I'm using cue v0.2.0 I've seen at least 3 separate ways to write a task across the cue git repo Option A as seen here here
Option B as seen here
Option C as seen here
Option C throws an error when I use the example included in that documentation. Options A & B both work, but this documentation refers to the Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Option C uses a lot of old and deprecated syntax. This documentation really should be generated. The same holds for Option A. That should still work, but only as a grandfathered legacy style. So you're right: Option B is the canonical way of writing things. |
Beta Was this translation helpful? Give feedback.
-
This discussion has been migrated to cue-lang/cue#404. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
Option C uses a lot of old and deprecated syntax. This documentation really should be generated.
The same holds for Option A. That should still work, but only as a grandfathered legacy style.
So you're right: Option B is the canonical way of writing things.