eshell-parse-command

eshell-parse-command is a compiled Lisp function in `esh-cmd.el'.

(eshell-parse-command COMMAND &optional ARGS TOPLEVEL)

Parse the COMMAND, adding ARGS if given.
COMMAND can either be a string, or a cons cell demarcating a buffer
region. TOPLEVEL, if non-nil, means that the outermost command (the
user's input command) is being parsed, and that pre and post command
hooks should be run before and after the command.