@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
18 lines (17 loc) • 768 B
TypeScript
import type { KnownParser } from '../../r-bridge/parser';
export declare function printReplHelpAsMarkdownTable(): string;
export interface DocumentReplSessionOptions {
/** defaults to false and shows starting the repl */
hideEntry?: boolean;
/** defaults to false and allows access to the R session */
allowRSessionAccess?: boolean;
/** defaults to false and opens the details section by default */
openOutput?: boolean;
/** additional arguments to pass to the repl */
args?: string;
}
export interface DocumentReplCommand {
command: string;
description: string;
}
export declare function documentReplSession(parser: KnownParser, commands: readonly DocumentReplCommand[], options?: DocumentReplSessionOptions): Promise<string>;