201abf98ce
- bundle-store.ts: remove private pathExists, import from fs-utils - thread-scan.ts: extract parseFirstJsonLineObject helper, dedup first-line parsing - commands/workflow/add-argv.ts: extract parseAddArgv from add.ts - commands/thread/fork-argv.ts: extract parseForkArgv from fork.ts - commands/cas/*.ts: remove unused _threadId params from cmdCas* functions - cli-dispatch.ts: add deprecation warning to help command - commands/init/templates.ts: extract template strings from template.ts - cli-color.ts: extract shouldUseColor, highlightLiveRole, dimGreyLine from live.ts - 242 tests pass, biome clean Closes #97
6 lines
200 B
TypeScript
6 lines
200 B
TypeScript
import type { ParsedAddArgv } from "../src/commands/workflow/add-argv.js";
|
|
|
|
export function addCliArgs(name: string, filePath: string): ParsedAddArgv {
|
|
return { name, filePath, typesPath: null };
|
|
}
|