Use a nested command completer for the evaluate-commands command

This commit is contained in:
Maxime Coste 2024-04-19 15:40:33 +10:00
parent b4fbfba246
commit 63addb7faa

View File

@ -2208,7 +2208,7 @@ const CommandDesc evaluate_commands_cmd = {
}}), }}),
CommandFlags::None, CommandFlags::None,
CommandHelper{}, CommandHelper{},
CommandCompleter{}, CommandManager::NestedCompleter{},
[](const ParametersParser& parser, Context& context, const ShellContext& shell_context) [](const ParametersParser& parser, Context& context, const ShellContext& shell_context)
{ {
context_wrap(parser, context, {}, [&](const ParametersParser& parser, Context& context) { context_wrap(parser, context, {}, [&](const ParametersParser& parser, Context& context) {