Skip to content

Add search or explore command #7

Description

@mssola

There could be a command which allows users to explore teams, namespaces, images, etc. pretty much in the same way it's done on the Portus' UI. I'm not decided on the name yet... The syntax would be as follows:

$ portusctl explore something

This would be a general search with the "something" string. Moreover, we could add a way to specify what is this "something" supposed to be. That is, we could filter the results. Two possible syntax options occur to me:

$ portusctl explore namespace something

or

$ portusctl explore something --resource namespace

The first option is more in line with other commands like get or create. The second option focuses on the fact that we just want to search for something, and we add a filter to the given output. Therefore, the second option is more about filtering the final output.

I'd be more in favor with the second option, but to be honest I'd also be fine with the first option (I don't have strong opinions on this...).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions