MCPcopy Create free account
hub / github.com/arctic-cli/interface / maybeImportClaudeCommands

Function maybeImportClaudeCommands

packages/arctic/src/cli/claude-import.ts:40–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38const STATE_KEY_GLOBAL_MCP = ["cli", "claude-import", "global", "mcp"]
39
40export async function maybeImportClaudeCommands() {
41 if (!process.stdin.isTTY || !process.stdout.isTTY) return
42 if (process.env.CI) return
43 if (process.argv.some((arg) => ["-h", "--help", "-v", "--version"].includes(arg))) return
44
45 const projectSource = await maybeImportClaudeProjectCommands()
46 await maybeImportClaudeGlobalCommands(projectSource)
47}
48
49export async function maybeImportClaudeAgents() {
50 if (!process.stdin.isTTY || !process.stdout.isTTY) return

Callers 1

index.tsFile · 0.90

Tested by

no test coverage detected