-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search Features #1815
Labels
Comments
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd like to add the ability to use the SoftLayer_Search service basically all over the place, or at least for the Datatypes supported by it.
Each of these should have their own issue opened to track their completion. This issue will stand in for the whole feature.
TODO
These functions should be pretty basic, taking in as parameters anything the API method would take in, and just returning the result.
slcli search "query"
--advanced
which will just send the query to the advancedSearch api--types
will print out the result of getObjectTypesslcli vs list --search "query"
which should list all vsis that match that query. Might need a special search manager function for this.slcli vs detail
. My thought is that if the input isn't a number, or we get a 404 error, try a search query just in case. If there is more than 1 result, should print them all out.slcli hw list --search "query"
slcli hw detail
. (same as vs basically)For now this feature will only cover this list of things, but there are other search objects we can add as well.
The text was updated successfully, but these errors were encountered: