Files
ec3/src/explore.c
2024-11-02 11:17:36 +00:00

35 lines
567 B
C

#include "commands.h"
#include <blue/cmd.h>
enum {
ARG_FILE,
};
static int explore(
const b_command *self,
const b_arglist *opt,
const b_array *args)
{
return 0;
}
B_COMMAND(CMD_EXPLORE, CMD_ROOT)
{
B_COMMAND_NAME("explore");
B_COMMAND_SHORT_NAME('E');
B_COMMAND_DESC(
"start a basic shell to browse the contents of an ec3 file");
B_COMMAND_FLAGS(B_COMMAND_SHOW_HELP_BY_DEFAULT);
B_COMMAND_FUNCTION(explore);
B_COMMAND_HELP_OPTION();
B_COMMAND_ARG(ARG_FILE)
{
B_ARG_NAME("file");
B_ARG_NR_VALUES(1);
B_ARG_DESC("the file to explore");
}
}