zimakri / tree / test/guide-flags.ts ยท raw (this view has old GitHub links rewritten for the mirror; raw is byte-exact)
import { readFileSync } from 'node:fs';
import { join } from 'node:path';
import { ROOT } from './helpers.ts';
const bin = readFileSync(join(ROOT, 'bin/zimakri.js'), 'utf8');
export const HELP_FLAGS = [...new Set([...bin.matchAll(/'(--[a-z]+)'/g)].map((m) => m[1]))];

agentgate-source: code mirror on Cloudflare Pages. All repos