Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Introduce 'pkg plugins' command for managing plugins
Marin Atanasov Nikolov committed 13 years ago
commit 968cca077b903630c15ebcbbd51080a39cfbfa33
parent a80844c
3 files changed +6 -0
modified pkg/Makefile
@@ -11,6 +11,7 @@ SRCS= add.c \
		info.c \
		install.c \
		main.c \
+
		plugins.c \
		progressmeter.c \
		query.c \
		register.c \
modified pkg/main.c
@@ -71,6 +71,7 @@ static struct commands {
	{ "help", "Displays help information", exec_help, usage_help},
	{ "info", "Displays information about installed packages", exec_info, usage_info},
	{ "install", "Installs packages from remote package repositories", exec_install, usage_install},
+
	{ "plugins", "Manages plugins and displays information about plugins", exec_plugins, usage_plugins},
	{ "query", "Queries information about installed packages", exec_query, usage_query},
	{ "register", "Registers a package into the local database", exec_register, usage_register},
	{ "remove", "Deletes packages from the database and the system", exec_delete, usage_delete},
modified pkg/pkgcli.h
@@ -70,6 +70,10 @@ void usage_info(void);
int exec_install(int, char **);
void usage_install(void);

+
/* pkg plugins */
+
int exec_plugins(int, char **);
+
void usage_plugins(void);
+

/* pkg query */
int exec_query(int, char **);
void usage_query(void);