master ohmu/fastfetch-openbsd / src / modules / command / option.h
ohmu  ·  2026-10-15
 1#pragma once
 2
 3#include "common/option.h"
 4#include "common/processing.h" // FFProcessOutputType
 5
 6typedef struct FFCommandOptions {
 7    FFModuleArgs moduleArgs;
 8
 9    FFstrbuf shell;
10    FFstrbuf param;
11    FFstrbuf text;
12    FFProcessOutputType useOutput;
13    bool parallel;
14    bool splitLines;
15} FFCommandOptions;
16
17static_assert(sizeof(FFCommandOptions) <= FF_OPTION_MAX_SIZE, "FFCommandOptions size exceeds maximum allowed size");