Enhancement - Aliases
- Moved alias mapping to Context. - Added Context::canonicalize to resolve aliases. - Added Context::loadAliases to reload on config file change. - Removed old alias processing from Cmd. - Doesn't work yet, but the data is loaded.
This commit is contained in:
@@ -27,10 +27,8 @@
|
||||
#ifndef INCLUDED_CMD
|
||||
#define INCLUDED_CMD
|
||||
|
||||
//#include <map>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include "Cmd.h"
|
||||
|
||||
class Cmd
|
||||
{
|
||||
@@ -59,7 +57,6 @@ private:
|
||||
private:
|
||||
std::vector <std::string> commands;
|
||||
std::vector <std::string> customReports;
|
||||
// std::map <std::string, std::string> aliases;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user