mirror of
https://github.com/Routstr/routstrd.git
synced 2026-10-05 20:38:22 +00:00
feat: add --hermes flag to clients add CLI command
This commit is contained in:
@@ -820,6 +820,7 @@ clientsCmd
|
||||
.option("--openclaw", "Set up OpenClaw integration")
|
||||
.option("--pi-agent", "Set up Pi Agent integration")
|
||||
.option("--claude-code", "Set up Claude Code integration")
|
||||
.option("--hermes", "Set up Hermes integration")
|
||||
.action(
|
||||
async (options: {
|
||||
name?: string;
|
||||
@@ -827,6 +828,7 @@ clientsCmd
|
||||
openclaw?: boolean;
|
||||
piAgent?: boolean;
|
||||
claudeCode?: boolean;
|
||||
hermes?: boolean;
|
||||
}) => {
|
||||
await addClientAction(options);
|
||||
},
|
||||
|
||||
@@ -187,6 +187,7 @@ export interface AddClientOptions {
|
||||
openclaw?: boolean;
|
||||
piAgent?: boolean;
|
||||
claudeCode?: boolean;
|
||||
hermes?: boolean;
|
||||
}
|
||||
|
||||
export async function addClientAction(options: AddClientOptions): Promise<void> {
|
||||
@@ -198,6 +199,7 @@ export async function addClientAction(options: AddClientOptions): Promise<void>
|
||||
if (options.openclaw) integrationKeys.push("openclaw");
|
||||
if (options.piAgent) integrationKeys.push("pi-agent");
|
||||
if (options.claudeCode) integrationKeys.push("claude-code");
|
||||
if (options.hermes) integrationKeys.push("hermes");
|
||||
|
||||
if (integrationKeys.length > 0) {
|
||||
for (const key of integrationKeys) {
|
||||
|
||||
Reference in New Issue
Block a user