You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a suggestion, I believe it's a more natural syntax, like grep for instance, for searching a snippet, to use the first argument after the options as the initial search string, like this:
pet search [other-flags] <string>
instead of, currently:
pet search [other-flags] --query <string>
If there's a string after all options have been processed, it's natural to expect it to be the search string.
So, if I wanted to search for copy, the command would be:
pet search copy
It feels more natural to me, more alike any other search command, such as grep and locate. The option --query feels unnecessary in this context.
The text was updated successfully, but these errors were encountered:
As a suggestion, I believe it's a more natural syntax, like
grep
for instance, for searching a snippet, to use the first argument after the options as the initial search string, like this:pet search [other-flags] <string>
instead of, currently:
pet search [other-flags] --query <string>
If there's a string after all options have been processed, it's natural to expect it to be the search string.
So, if I wanted to search for copy, the command would be:
pet search copy
It feels more natural to me, more alike any other search command, such as
grep
andlocate
. The option--query
feels unnecessary in this context.The text was updated successfully, but these errors were encountered: