Config object for the sortFormat command.

interface SortFormat {
    clean?: boolean;
    compress?: boolean;
    formats: string[];
    highValue: PriceExpression;
    logger?: BasicLogger;
    mark?: Set<string>;
    output: string;
    path: string;
    sort?: ExportExcel.Options.Sort;
    theme?: "dark" | "light";
}
Hierarchy
Index

Properties

clean?: boolean

When true, remove existing sorted output before regenerating.

compress?: boolean

When true, the output sorted format CardDBs are compressed.

formats: string[]

Scryfall game formats and sort order.

highValue: PriceExpression

When defined sorted collections are separated into high value binders.

logger?: BasicLogger

Optional logger interface.

mark?: Set<string>

A set of CSV file names in the conversion process to mark / highlight for merging.

output: string

Output directory for spreadsheets.

path: string

Input JSON file path post conversion.

Various sort options.

theme?: "dark" | "light"

Theme name.