Command: major code refactoring

ditto; and multi-command support was removed in favor of JSON config
support
This commit is contained in:
李通洲 committed 2023-06-10 09:15:15 +08:00
1 parent 4e3e469ba8
commit cbaeed7e8e
11 files changed
+117 -110

No files matched your search

+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;