change 'example' to 'config'.
This commit is contained in:
@ -52,10 +52,9 @@ void dropshell::autocomplete(const std::vector<std::string> &args)
|
||||
|
||||
if (cmd=="create-service")
|
||||
{ // create-service <server> <template> <service>
|
||||
std::vector<template_info> templates;
|
||||
get_templates(templates);
|
||||
auto templates = dropshell::gTemplateManager().get_template_list();
|
||||
for (const auto& t : templates)
|
||||
std::cout << t.template_name << std::endl;
|
||||
std::cout << t << std::endl;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user