mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-31 20:20:47 +01:00
18 lines
432 B
C
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");
|