ropam: rename vendors to repos

This commit is contained in:
2025-07-17 18:11:30 +01:00
parent 2e045bd4f4
commit 5915d943dc
5 changed files with 19 additions and 19 deletions

22
ropam/repo/add.c Normal file
View File

@@ -0,0 +1,22 @@
#include "../commands.h"
#include <blue/cmd.h>
static int repo_add(
const b_command *self,
const b_arglist *opt,
const b_array *args)
{
return 0;
}
B_COMMAND(CMD_REPO_ADD, CMD_REPO)
{
B_COMMAND_NAME("add");
B_COMMAND_SHORT_NAME('A');
B_COMMAND_DESC("add a new package repository to the system.");
B_COMMAND_FLAGS(B_COMMAND_SHOW_HELP_BY_DEFAULT);
B_COMMAND_FUNCTION(repo_add);
B_COMMAND_HELP_OPTION();
}

22
ropam/repo/list.c Normal file
View File

@@ -0,0 +1,22 @@
#include "../commands.h"
#include <blue/cmd.h>
static int repo_list(
const b_command *self,
const b_arglist *opt,
const b_array *args)
{
return 0;
}
B_COMMAND(CMD_REPO_LIST, CMD_REPO)
{
B_COMMAND_NAME("list");
B_COMMAND_SHORT_NAME('L');
B_COMMAND_DESC("list all registered package repositories.");
B_COMMAND_FLAGS(B_COMMAND_SHOW_HELP_BY_DEFAULT);
B_COMMAND_FUNCTION(repo_list);
B_COMMAND_HELP_OPTION();
}

22
ropam/repo/remove.c Normal file
View File

@@ -0,0 +1,22 @@
#include "../commands.h"
#include <blue/cmd.h>
static int repo_remove(
const b_command *self,
const b_arglist *opt,
const b_array *args)
{
return 0;
}
B_COMMAND(CMD_REPO_REMOVE, CMD_REPO)
{
B_COMMAND_NAME("remove");
B_COMMAND_SHORT_NAME('R');
B_COMMAND_DESC("remove a package repository from the system.");
B_COMMAND_FLAGS(B_COMMAND_SHOW_HELP_BY_DEFAULT);
B_COMMAND_FUNCTION(repo_remove);
B_COMMAND_HELP_OPTION();
}

13
ropam/repo/repo.c Normal file
View File

@@ -0,0 +1,13 @@
#include "../commands.h"
#include <blue/cmd.h>
B_COMMAND(CMD_REPO, CMD_ROOT)
{
B_COMMAND_NAME("repo");
B_COMMAND_SHORT_NAME('V');
B_COMMAND_DESC("package repository management commands.");
B_COMMAND_FLAGS(B_COMMAND_SHOW_HELP_BY_DEFAULT);
B_COMMAND_HELP_OPTION();
}