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...).
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:
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:
or
The first option is more in line with other commands like
getorcreate. 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...).