Files
fastfetch/src/modules/command/option.h
T
2026-10-10 14:00:30 +08:00

18 lines
432 B
C

#pragma once
#include "common/option.h"
#include "common/processing.h" // FFProcessOutputType
typedef struct FFCommandOptions {
FFModuleArgs moduleArgs;
FFstrbuf shell;
FFstrbuf param;
FFstrbuf text;
FFProcessOutputType useOutput;
bool parallel;
bool splitLines;
} FFCommandOptions;
static_assert(sizeof(FFCommandOptions) <= FF_OPTION_MAX_SIZE, "FFCommandOptions size exceeds maximum allowed size");