by Jonathan Matthews and Paul Jolly
Use this file as a template when creating new cue-by-example guides.
This introduction explains the broad context of this guide, what technologies it deals with, and what prerequisites the reader must be aware of to use the guide successfully.
To use this guide, you need to:
- install the
cue
command - and perhaps do some other things, as well
This scenario can be read in isolation from any other scenario.
❕ Info ❕ |
---|
A scenario can build on the learnings imparted by other scenarios. However, if its steps cannot be carried out without first completing another scenario, then consider merging the two scenarios into one. |
This section is a container for the following 2 steps.
💾 cue_file_1.cue
package foo
some_content: "some string"
some_boolean: true
💾 really_long_file.txt
(click to open)
A
long
file
but not
really long.
Count the lines in each file by running:
💻 terminal
wc -l *
Expected output:
4 cue_file_1.cue
5 really_long_file.txt
9 total
❗ WARNING ❗ |
---|
The file really_long_file.txt is not, in fact, really long. This is a known weakness of this guide.Please feel free to open an issue to track this problem. |
This is a very short scenario, which can be read separately from Scenario A-1.
This section concludes the guide by:
- reminding the reader about the significant elements of what they've achieved in the guide's different scenarios,
- reminding the reader why the scenarios' outcomes were useful,
- reenforcing any important reminders or warnings, and
- pointing to any additional guides or sites that might be useful to develop the reader's learning further.