converted executable-based commands to the new command API (as "core")

This commit is contained in:
Nicholas O'Connor
2017-03-23 19:09:36 -07:00
parent 5a7353abc1
commit 325413f3f2
7 changed files with 45 additions and 7 deletions

View File

@@ -1,9 +1,14 @@
#ifndef __CELLAR_HPP
#define __CELLAR_HPP
#pragma once
#include <string>
#include <vector>
using namespace std;
namespace cellar {
void print_header();
extern void print_header();
extern void print_version(int,vector<string>);
}
#endif // __CELLAR_HPP

View File

@@ -14,6 +14,8 @@ namespace cellar {
void add_command(string, CommandFunction);
vector<string> list_commands();
extern map<string,CommandFunction> core_commands();
}
}