Continuing work on the CLI functionality. Able to strip the command line actions, and flags with their values #7

This commit is contained in:
amazing-username
2019-06-02 14:51:00 -04:00
parent 6641f9db44
commit 56bf7f1900
11 changed files with 377 additions and 4 deletions
+15
View File
@@ -0,0 +1,15 @@
#ifndef FLAGS_H_
#define FLAGS_H_
#include<string>
namespace Models
{
struct Flags
{
std::string flag;
std::string value;
};
}
#endif
+18
View File
@@ -0,0 +1,18 @@
#ifndef ICARUSACTION_H_
#define ICARUSACTION_H_
#include<string>
#include<vector>
#include"Flags.h"
namespace Models
{
struct IcarusAction
{
std::string action;
std::vector<Flags> flags;
};
}
#endif
+1
View File
@@ -16,6 +16,7 @@ namespace Models
int year;
int duration;
char* songData;
std::string songPath;
};
}
+17
View File
@@ -0,0 +1,17 @@
#ifndef TOKEN_H_
#define TOKEN_H_
#include<string>
namespace Models
{
struct Token
{
std::string accessToken;
std::string tokenType;
int expiration;
};
}
#endif
+15
View File
@@ -0,0 +1,15 @@
#ifndef USER_H_
#define USER_H_
#include<string>
namespace Models
{
struct User
{
std::string username;
std::string password;
}
}
#endif