Command: major code refactoring

ditto; and multi-command support was removed in favor of JSON config
support
This commit is contained in:
李通洲
2023-03-07 19:27:49 +08:00
parent 4e3e469ba8
commit cbaeed7e8e
11 changed files with 117 additions and 110 deletions
+14
View File
@@ -0,0 +1,14 @@
#pragma once
// This file will be included in "fastfetch.h", do NOT put unnecessary things here
#include "common/option.h"
typedef struct FFCommandOptions
{
const char* moduleName;
FFModuleArgs moduleArgs;
FFstrbuf shell;
FFstrbuf text;
} FFCommandOptions;