Add read-only contacts directory APIs
This commit is contained in:
1 parent
42403130e0
commit
17a31042a1
9 files changed
+230
No files matched your search
@@ -9,6 +9,7 @@ import { handleApprovalRunsCommand } from "./commands/approval-runs.js";
|
||||
import { handleAuthCommand } from "./commands/auth.js";
|
||||
import { handleBillingCommand } from "./commands/billing.js";
|
||||
import { handleConfigCommand } from "./commands/config.js";
|
||||
import { handleContactsCommand } from "./commands/contacts.js";
|
||||
import { handleContextCommand } from "./commands/context.js";
|
||||
import { handleCorpsCommand } from "./commands/corps.js";
|
||||
import { handleDelegationCommand, handleDelegationFromHoseLink } from "./commands/delegation.js";
|
||||
@@ -63,6 +64,7 @@ const KNOWN_AREAS = new Set([
|
||||
"auth",
|
||||
"delegation",
|
||||
"users",
|
||||
"contacts",
|
||||
"llm",
|
||||
"permissions",
|
||||
"billing",
|
||||
@@ -320,6 +322,11 @@ async function dispatch(argv: string[], runtime: CliRuntime) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (area === "contacts") {
|
||||
await handleContactsCommand(action, maybeName, client, corp, args);
|
||||
return;
|
||||
}
|
||||
|
||||
if (area === "llm") {
|
||||
await handleLlmCommand(action, client, corp, args);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user