Refactor! Compiles...

This commit is contained in:
Your Name
2025-04-26 21:53:15 +12:00
parent bc0edf8e91
commit 3c03c2a536
11 changed files with 211 additions and 223 deletions

View File

@ -6,8 +6,8 @@ namespace dropshell {
class template_info {
public:
std::string name;
std::string path;
std::string template_name;
std::string local_template_path;
};
// templates are stored in two locations:
@ -20,7 +20,7 @@ class template_info {
bool get_templates(std::vector<template_info>& templates);
bool get_template_info(const std::string& name, template_info& info);
bool get_template_info(const std::string& template_name, template_info& info);
bool template_command_exists(const std::string& template_name,const std::string& command);
void list_templates();