Skip to content

How do I filter flyte projects using flyte-cli or flytectl? #1127

Answered by SandraGH5
SandraGH5 asked this question in Q&A
Discussion options

You must be logged in to vote

Prafulla Mahindrakar:

$ flyte-cli list-projects -h localhost:8089 -i --filter 'eq(project.name, my-flyte-project-name)'

Using default config file at /Users/praful/.flyte/config
Welcome to Flyte CLI! Version: 0.18.0
Projects Found
	my-flyte-project-name

cc: @yuvraj

In flytectl this can be done using

$ flytectl get project --filter.field-selector="project.name=flytesnacks"

More examples can be found in flytectl docs

(This thread was referenced from Slack)
@pmahindrakar-oss
@evalsocket

Replies: 1 comment

Comment options

SandraGH5
Jun 11, 2021
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by SandraGH5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
flytekit FlyteKit Python related issue
1 participant