Sign in
cue
/
cue
/
f60c88a6beb9abd7f278c8799b0cd05c5b146f01
/
.
/
doc
/
tutorial
/
kubernetes
/
manual
/
services
/
ls_tool.cue
blob: d5739ba3b5521c2a32a5496b7aafb2f63a639328 [
file
] [
log
] [
blame
]
package
kube
import
"strings"
command
:
ls
:
{
task
:
print
:
{
kind
:
"print"
Lines
=
[
for
x
in
objects
{
"\(x.kind) \t\(x.metadata.labels.component) \t\(x.metadata.name)"
}
]
text
:
strings
.
Join
(
Lines
,
"\n"
)
}
}