aboutsummaryrefslogtreecommitdiff
path: root/src/bottles.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bottles.c')
-rw-r--r--src/bottles.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/bottles.c b/src/bottles.c
new file mode 100644
index 0000000..42d62a1
--- /dev/null
+++ b/src/bottles.c
@@ -0,0 +1,22 @@
+
+#include "bottles.h"
+
+static const struct Command bottles_commands[] = {
+ { .name = "info", .func = bottles_info, .description = "show information about a bottles script" },
+};
+
+static const struct Flag bottles_flags[] = {
+ { .name = "help", .variant = TWO, .returns = 1, .func = bottles_help, .description = "show this message"},
+ { .name = "no-net", .variant = TWO, .returns = 0, .func = set_no_net, .description = "run commands without commitment"}
+};
+
+
+COMMAND_GROUP_FUNC(bottles)
+
+COMMAND(bottles, info)
+{
+ return 0;
+}
+
+
+COMMAND_HELP(bottles, " bottles")