Optional
clientThe client instance to use for logging and user interaction.
Optional
commandThe command string or array to be parsed and executed. If not provided, it defaults to system arguments.
Optional
commandsA directory path containing command modules.
Optional
defaultThe default command string to run if no command is provided.
Optional
hooksOptional lifecycle hooks to customize command execution.
Optional
initialInitial context or data to pass to commands during execution.
Optional
optionsOptions to include in the context.
Optional
parseAn optional function to replace the default command parser.
Optional
pluginsAn array of plugins that can modify or augment the behavior of commands.
Optional
resolveAn optional function to replace the default command resolver.
Params for the
run
function.