mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 11:37:00 -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
15 lines
No EOL
524 B
C++
15 lines
No EOL
524 B
C++
#pragma once
|
|
|
|
#include "constants.hpp"
|
|
#include "error.hpp"
|
|
#include "types.hpp"
|
|
#include <fmt/core.h>
|
|
#include <unordered_map>
|
|
#include "config.hpp"
|
|
|
|
namespace gdpm::remote{
|
|
GDPM_DLL_EXPORT error add_repository(config::context& config, const args_t& args);
|
|
GDPM_DLL_EXPORT error remove_respositories(config::context& config, const args_t& names);
|
|
GDPM_DLL_EXPORT void move_repository(config::context& config, int old_position, int new_position);
|
|
GDPM_DLL_EXPORT void print_repositories(const config::context& config);
|
|
} |