mvm: Add initial mvm groundwork

Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
2026-05-24 01:53:25 -04:00
parent ae3e9b26c1
commit 9bb2610e5f
5 changed files with 192 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
/*
* Copyright (c) 2026 Mirocom Laboratories and MSP engineers.
* All Rights Reserved.
*/
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include "mvm/balloon.h"
static void
help(void)
{
printf("usage: ./mvm [flags]\n");
printf("[-h] Display this help menu\n");
}
int
main(int argc, char **argv)
{
int opt;
if (argc < 2) {
printf("fatal: too few arguments\n");
help();
return -1;
}
while ((opt = getopt(argc, argv, "h")) != -1) {
switch (opt) {
case 'h':
help();
return -1;
}
}
return 0;
}