https://flyte.org logo
b

Brian Dobray

06/17/2022, 2:35 AM
Hi all, is there an equivalent for
list-active-launch-plans
for
flytectl
? I really really miss this right now:
Copy code
flyte-cli \
    -h HOST \
    -d ENV \
    -p PROJECT \
    list-active-launch-plans
k

Ketan (kumare3)

06/17/2022, 3:08 AM
Flyte-cli should work
Let me see if flytectl does not really support it
šŸ‘ 1
p

Prafulla Mahindrakar

06/17/2022, 7:30 AM
You can use filters to get this • Active
Copy code
flytectl get launchplan -p flytesnacks -d development -o yaml  --filter.fieldSelector "state=1"
• Archive
Copy code
flytectl get launchplan -p flytesnacks -d development -o yaml  --filter.fieldSelector "state=0"
ā¤ļø 1
k

Ketan (kumare3)

06/17/2022, 2:06 PM
Cc @Brian Dobray
b

Brian Dobray

06/17/2022, 4:15 PM
Thank you so much @Prafulla Mahindrakar. This is exactly what I needed. Strong suggestion, can we add all of the options for `filelSelector`in the documentation. I couldn't find a page of all of the different values that were filterable.
k

Ketan (kumare3)

06/17/2022, 4:34 PM
ya, that would be a good idea
cc @Smriti Satyan / @Marc Paquette
āœ… 1
šŸ‘€ 1
4 Views