summaryrefslogtreecommitdiff
path: root/minecctl/minecctl-commands.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-07-09 22:58:22 +0200
committerDavid Härdeman <david@hardeman.nu>2020-07-09 22:58:22 +0200
commit3dc8d84af1753b41fe37b3b3954731379dc579aa (patch)
treeb9f5ba58a13457c2a4323a6ca2dede014c066457 /minecctl/minecctl-commands.h
parent984f586e3ef70b9db759ce48da4f06f0a6680c6f (diff)
Implement new command for minecctl
Diffstat (limited to 'minecctl/minecctl-commands.h')
-rw-r--r--minecctl/minecctl-commands.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/minecctl/minecctl-commands.h b/minecctl/minecctl-commands.h
index 16cf511..f50bc6c 100644
--- a/minecctl/minecctl-commands.h
+++ b/minecctl/minecctl-commands.h
@@ -5,6 +5,7 @@
enum commands {
CMD_INVALID = 0,
CMD_INIT,
+ CMD_NEW,
CMD_LIST,
CMD_LINT,
CMD_INFO,
@@ -25,6 +26,10 @@ static struct command_list {
.cmd = CMD_INIT,
},
{
+ .name = "new",
+ .cmd = CMD_NEW,
+ },
+ {
.name = "list",
.cmd = CMD_LIST,
},