mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-28 05:16:23 -06:00
docs: document cli utility helpers
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// Shared gateway RPC command options and progress-wrapped CLI call helper.
|
||||
import type { Command } from "commander";
|
||||
import {
|
||||
GATEWAY_CLIENT_MODES,
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Dev gateway bootstrap for a local loopback config and seeded dev workspace.
|
||||
import fs from "node:fs";
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
@@ -15,6 +16,7 @@ const DEV_IDENTITY_EMOJI = "🤖";
|
||||
const DEV_AGENT_WORKSPACE_SUFFIX = "dev";
|
||||
|
||||
async function loadDevTemplate(name: string, fallback: string): Promise<string> {
|
||||
// Template frontmatter is metadata only; workspace files receive the body content.
|
||||
try {
|
||||
const templateDirs = await resolveWorkspaceTemplateSearchDirs();
|
||||
for (const templateDir of templateDirs) {
|
||||
|
||||
Reference in New Issue
Block a user