Files
ropkg/ropam/remove.c
T

43 lines
829 B
C
Raw Normal View History

#include "commands.h"
2026-06-22 17:45:54 +01:00
#include <fx/cmdline/cmd.h>
enum {
ARG_PACKAGE,
};
static int remove(
2026-06-22 17:45:54 +01:00
const fx_command *self,
const fx_arglist *opt,
const fx_array *args)
{
return 0;
}
2026-06-22 17:45:54 +01:00
FX_COMMAND(CMD_REMOVE, CMD_ROOT)
{
2026-06-22 17:45:54 +01:00
FX_COMMAND_NAME("remove");
FX_COMMAND_SHORT_NAME('R');
FX_COMMAND_DESC(
"remove a set of Rosetta packages by name. any "
"automatically installed dependencies will not be removed "
"unless they are explicitly named in the list of packages to "
"remove.");
2026-06-22 17:45:54 +01:00
FX_COMMAND_FLAGS(FX_COMMAND_SHOW_HELP_BY_DEFAULT);
FX_COMMAND_FUNCTION(remove);
2026-06-22 17:45:54 +01:00
FX_COMMAND_HELP_OPTION();
2026-06-22 17:45:54 +01:00
FX_COMMAND_ARG(ARG_PACKAGE)
{
2026-06-22 17:45:54 +01:00
FX_ARG_NAME("package-name");
FX_ARG_DESC("the names of the packages to remove.");
FX_ARG_NR_VALUES(FX_ARG_1_OR_MORE_VALUES);
}
2026-06-22 17:45:54 +01:00
FX_COMMAND_USAGE()
{
2026-06-22 17:45:54 +01:00
FX_COMMAND_USAGE_ARG(ARG_PACKAGE);
}
}