HI all! We are using `flytectl get launchplan` in ...
# ask-the-community
j
HI all! We are using
flytectl get launchplan
in a script to search for any existing instances of a given workflow. In the case where no such workplan exists, there is a message thrown to STDERR:
Copy code
Error: no launchplans retrieved for [redacted-workflow-name]
This is sometimes expected behavior for this script, though, and we'd rather not have to silence all STDERR from the command -- is there any flag we can set to tell
flytectl
that an empty result is potentially expected / not have it throw this error?
k
Can you not use flytekit remote and write a python script
j
Ah that might work, thanks