Skip to content

How do you use export --list? #800

Answered by cueckoo
cueckoo asked this question in Q&A
Jul 3, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Original reply by @verdverm in cuelang/cue#800 (comment)

see cue flags

To handle multi-document files, such as JSON Lines or YAML
files with document separators (---), the user must specify
a the --path, --list, or --files flag.
The --path flag merges each element into a single package as
if each element was defined in a separate file. The --list flag
concatenates each entry in a file into a list.
Using --list flag in combination with the --path flag
concatenates entries with the same path into a list, instead of
unifying them.
Finally, the --files option causes each entry to be written to
a different file. The -files flag may only be used in
combination with the import command.

--list l…

Replies: 1 comment 3 replies

Comment options

cueckoo
Jul 3, 2021
Collaborator Author

You must be logged in to vote
3 replies
@cueckoo
Comment options

cueckoo Jul 3, 2021
Collaborator Author

@cueckoo
Comment options

cueckoo Jul 3, 2021
Collaborator Author

@cueckoo
Comment options

cueckoo Jul 3, 2021
Collaborator Author

Answer selected by cueckoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant