From: Eric Wong Date: Sat, 26 Dec 2020 11:13:11 +0000 (+0000) Subject: lei: rename proposed "query" command to "q", add JSON output X-Git-Tag: v1.7.0~1471^2~1 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=9d29ceda4eb8c9973749d74b928416f5c3cc78f8;hp=9d29ceda4eb8c9973749d74b928416f5c3cc78f8;p=public-inbox.git lei: rename proposed "query" command to "q", add JSON output Using "query" as a verb may be confusing when we'll also refer to them as nouns with the "-query" sub commands. "query" is also many characters to type without tab-completion on what I expect to be one of the most commonly used sub-commands Furthermore, "q" is also the common query parameter name used by our PSGI interface, as is the case with several major web search engines; so there's an element of familiarity there. The name "search" was disregarded because "show" could be a commonly used lei sub-command, too, and typing "se" for tab-completion may be slow since two-handed typists on QWERTY keyboards won't be able to use alternating hands. "f" or "find" could be a possibility here, too; but we're currently using the term "forget" as a weaker version of "remove" or "rm", though "ignore" could be substituted for "forget", perhaps... Kyle Meyer noted the lack of (proposed) JSON output support so that's been added to the proposed UI. ---