.cat — a file printed, numbered and highlighted.
import { command as catCommand } from './cat.ts'; import type { ReplContext } from '../command.ts'; // Defined, not invoked: it writes to a live prompt. function example(repl: ReplContext) { return catCommand.main(repl, 'lib/repl/session.ts'); // the file, numbered and highlighted }