mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
Recfactored and simplified more code
- 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
This commit is contained in:
parent
e48c54aa40
commit
02a4e879a8
21 changed files with 541 additions and 384 deletions
|
|
@ -16,7 +16,6 @@
|
|||
#include <curl/curl.h>
|
||||
|
||||
namespace gdpm::package_manager {
|
||||
extern remote::repository_map remote_sources;
|
||||
extern CURL *curl;
|
||||
extern CURLcode res;
|
||||
extern config::context config;
|
||||
|
|
@ -32,10 +31,13 @@ namespace gdpm::package_manager {
|
|||
link,
|
||||
clone,
|
||||
clean,
|
||||
config,
|
||||
config_get,
|
||||
config_set,
|
||||
fetch,
|
||||
sync,
|
||||
remote,
|
||||
remote_add,
|
||||
remote_remove,
|
||||
remote_list,
|
||||
ui,
|
||||
help,
|
||||
none
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue