beginnings of a config command

This commit is contained in:
Nicholas O'Connor committed 2017-03-24 15:57:49 -07:00
1 parent ece1c07b1a
commit 04f2c46def
3 files changed
+27 -2

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
list print_bottles
active print_active_bottle
activate switch_active_bottle
config config_command
+24
View File
@@ -0,0 +1,24 @@
#include <string>
#include <vector>
#include "json.hpp"
#include "bottles.hpp"
#include "internal/bottles.hpp"
#include "output.hpp"
using namespace std;
using namespace cellar;
using namespace cellar::bottles;
using json = nlohmann::json;
void cellar::bottles::config_command(int argc, vector<string> argv) {
if (argc == 1) {
output::error("not enough arguments");
return;
}
string command = argv[1];
output::statement(command);
}