runfunctionfunction run(root: string, argv: readonly string[]): { readonly code: 0 | 1 | 2; readonly lines: readonly string[]; }Run the check over root; the lines to print and the exit status.
The command a library that declares kanon runs in its verify (commons 0033-kanon FR-014): the import check over its own table, from its folder.
bun ../kanon/src/check.ts check the library in the working folder; exit 1 on a finding the baseline does not hold, or a line of it that no longer occurs bun ../kanon/src/check.ts --root DIR the library's folder bun ../kanon/src/check.ts --write-baseline hold what is found now in kanon.baseline.txt (the first time only)
Exit status: 0 where nothing is new or stale, 1 where something is, 2 where the table cannot be read.
runfunctionfunction run(root: string, argv: readonly string[]): { readonly code: 0 | 1 | 2; readonly lines: readonly string[]; }Run the check over root; the lines to print and the exit status.