Add intelligent soft fuzzy search to corps search command
Support Chinese homophones, front/back nasal vowels, initials, typo/missing letter tolerance, and --strict exact mode fallback.
This commit is contained in:
1 parent
5a5c0c11a9
commit
b6aa4efd09
8 files changed
+772
-211
No files matched your search
+8
-6
@@ -31,20 +31,22 @@ export const HELP_REGISTRY: AreaHelp[] = [
|
||||
{
|
||||
name: "list",
|
||||
summary: "List all configured enterprises",
|
||||
usage: ["seal-use corps list [query] [--env <production|test>] [--corp <corpId>]"],
|
||||
usage: ["seal-use corps list [query] [--env <production|test>] [--strict] [--corp <corpId>]"],
|
||||
options: [
|
||||
{ flag: "--env <production|test>", description: "Filter enterprises by environment ('production' or 'test')" }
|
||||
{ flag: "--env <production|test>", description: "Filter enterprises by environment ('production' or 'test')" },
|
||||
{ flag: "--strict", description: "Use strict exact substring matching instead of default soft fuzzy search" }
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "search",
|
||||
aliases: ["find"],
|
||||
summary: "Search configured enterprises by keyword or environment",
|
||||
usage: ["seal-use corps search <query> [--env <production|test>]"],
|
||||
summary: "Search configured enterprises with intelligent soft fuzzy matching",
|
||||
usage: ["seal-use corps search <query> [--env <production|test>] [--strict]"],
|
||||
options: [
|
||||
{ flag: "--env <production|test>", description: "Filter enterprises by environment ('production' or 'test')" }
|
||||
{ flag: "--env <production|test>", description: "Filter enterprises by environment ('production' or 'test')" },
|
||||
{ flag: "--strict", description: "Use strict exact substring matching instead of default soft fuzzy search" }
|
||||
],
|
||||
description: "Searches enterprise ID, name, staff ID, domain, tenant slug, environment, or bindings."
|
||||
description: "Searches enterprise ID, name, staff ID, domain, tenant slug, environment, or bindings. Uses soft search by default (case-insensitive, Chinese homophones, front/back nasal vowels, initials, typo/missing letter tolerance)."
|
||||
},
|
||||
{
|
||||
name: "get",
|
||||
|
||||
Reference in new issue
Block a user