Implemented get command

This commit is contained in:
David Allen 2023-07-03 21:05:47 -06:00
parent d23bbce2e2
commit 766eabd5b2
6 changed files with 205 additions and 62 deletions

View file

@ -121,8 +121,9 @@ namespace gdpm::package {
GDPM_DLL_EXPORT result_t<info_list> get_package_info(const opts_t& opts);
GDPM_DLL_EXPORT result_t<title_list> get_package_titles(const info_list& packages);
GDPM_DLL_EXPORT void clean_temporary(const config::context& config, const title_list& package_titles);
GDPM_DLL_EXPORT params make_params(const var_args& args, const var_opts& opts);
GDPM_DLL_EXPORT void read_file(title_list& package_titles, const path_list& paths);
GDPM_DLL_EXPORT void read_file_inputs(title_list& package_titles, const path_list& paths);
GDPM_DLL_EXPORT info_list find_cached_packages(const title_list& package_titles);
GDPM_DLL_EXPORT info_list find_installed_packages(const title_list& package_titles);
/* Dependency Management API */
GDPM_DLL_EXPORT result_t<info_list> synchronize_database(const config::context& config, const title_list& package_titles);
GDPM_DLL_EXPORT result_t<info_list> resolve_dependencies(const config::context& config, const title_list& package_titles);

View file

@ -22,7 +22,7 @@ namespace gdpm::package_manager {
enum class action_e{
install,
add,
get,
remove,
update,
search,