fs mkf subcommand

This commit is contained in:
2025-10-03 22:05:28 +02:00
parent dc8df7fade
commit c0178a1405
2 changed files with 39 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#include <ulib.h>
extern void fs_fetch(void);
extern void fs_mkf(void);
void main(void) {
if (argslen() == 0) {
@ -13,6 +14,8 @@ void main(void) {
if (string_strcmp(cmd, "fetch") == 0) {
fs_fetch();
} else if (string_strcmp(cmd, "mkf") == 0) {
fs_mkf();
} else {
uprintf("fs: unknown command %s\n", cmd);
}