Write `.alice/issues/ .md`.
(id: string, content: string)
| 16 | |
| 17 | /** Write `.alice/issues/<id>.md`. */ |
| 18 | async function writeIssue(id: string, content: string): Promise<void> { |
| 19 | await mkdir(join(dir, '.alice', 'issues'), { recursive: true }) |
| 20 | await writeFile(join(dir, '.alice', 'issues', `${id}.md`), content, 'utf8') |
| 21 | } |
| 22 | |
| 23 | /** Write the retired single-file declaration (no issues/ dir). */ |
| 24 | async function writeLegacyDecl(content: string): Promise<void> { |