blob: c36d96dd805f784ad7b91e7fbe3cd83df107744b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Logic for getting information about and installing modules
#pragma once
#include <stdbool.h>
#include "ast.h"
typedef struct {
const char *name, *version, *url, *git, *revision, *path;
} module_info_t;
module_info_t get_module_info(ast_t *use);
bool install_from_modules_ini(Path_t ini_file, bool ask_confirmation);
bool try_install_module(module_info_t mod, bool ask_confirmation);
|