UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

15 lines • 721 B
import type { RedirectResult } from '../../../../context/session_context.ts'; import type { BuiltinCall } from '../types.ts'; /** * Print arguments, honoring GNU echo's option rules. * * GNU echo is not getopt: options are LEADING words matching `-[neE]+` * only. The first word that does not match (including `-x` or a * repeated `hi -n`) ends option parsing and prints literally. Within * clusters the last of -e/-E wins; -n sticks. Under -e a `\c` ends the * output where it stands, newline included. */ export declare function handleEcho(args: string[]): RedirectResult; /** The `echo` arm. */ export declare function echoBuiltin(call: BuiltinCall): Promise<RedirectResult>; //# sourceMappingURL=echo.d.ts.map