mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-19 19:17:01 -07:00
- Added function to convert color string to ansi color string - Added `trim` and `join` utility functions - Added initial plugin test case - Implemented `config get` command to see config properties - Improved logging functionality and removed duplicate logging functions - Removed unused functions - Fixed more styling issues - Fixed some CLI commands not working correctly - Fixed CLI documentation format - Fixed some error handling issues
19 lines
No EOL
436 B
C++
19 lines
No EOL
436 B
C++
#pragma once
|
|
#include "types.hpp"
|
|
#include <string>
|
|
#include <filesystem>
|
|
|
|
namespace gdpm::plugin{
|
|
struct info{
|
|
string name;
|
|
string description;
|
|
string version;
|
|
};
|
|
extern error initialize(int argc, char **argv);
|
|
extern error set_name(const char *name);
|
|
extern error set_description(const char *description);
|
|
extern error set_version(const char *version);
|
|
extern error finalize();
|
|
|
|
error load(std::filesystem::path path);
|
|
} |