Files
fastfetch/src/modules/command/option.h
T

17 lines
432 B
C
Raw Normal View History

2023-03-07 19:27:49 +08:00
#pragma once
#include "common/option.h"
2026-10-10 13:25:51 +08:00
#include "common/processing.h" // FFProcessOutputType
2023-03-07 19:27:49 +08:00
2026-03-29 09:28:49 +08:00
typedef struct FFCommandOptions {
2023-03-07 19:27:49 +08:00
FFModuleArgs moduleArgs;
FFstrbuf shell;
2024-09-10 21:59:30 +08:00
FFstrbuf param;
2023-03-07 19:27:49 +08:00
FFstrbuf text;
2026-10-10 13:25:51 +08:00
FFProcessOutputType useOutput;
bool parallel;
2025-11-17 11:01:32 +08:00
bool splitLines;
2023-03-07 19:27:49 +08:00
} FFCommandOptions;
static_assert(sizeof(FFCommandOptions) <= FF_OPTION_MAX_SIZE, "FFCommandOptions size exceeds maximum allowed size");