2023-03-07 19:27:49 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "fastfetch.h"
|
2023-06-10 15:01:54 +08:00
|
|
|
#include <yyjson.h>
|
2023-03-07 19:27:49 +08:00
|
|
|
|
2023-03-15 16:54:50 +08:00
|
|
|
#define FF_COMMAND_MODULE_NAME "Command"
|
|
|
|
|
|
2023-03-07 19:27:49 +08:00
|
|
|
void ffPrintCommand(FFinstance* instance, FFCommandOptions* options);
|
|
|
|
|
void ffInitCommandOptions(FFCommandOptions* options);
|
|
|
|
|
bool ffParseCommandCommandOptions(FFCommandOptions* options, const char* key, const char* value);
|
|
|
|
|
void ffDestroyCommandOptions(FFCommandOptions* options);
|
2023-06-10 15:01:54 +08:00
|
|
|
void ffParseCommandJsonObject(FFinstance* instance, yyjson_val* module);
|