repomix
Version:
A tool to pack repository contents to single file for AI consumption
55 lines (54 loc) • 1.54 kB
TypeScript
import type { OptionValues } from 'commander';
import type { RepomixOutputStyle } from '../config/configSchema.js';
export interface CliOptions extends OptionValues {
version?: boolean;
output?: string;
stdout?: boolean;
style?: RepomixOutputStyle;
parsableStyle?: boolean;
compress?: boolean;
outputShowLineNumbers?: boolean;
copy?: boolean;
fileSummary?: boolean;
directoryStructure?: boolean;
files?: boolean;
removeComments?: boolean;
removeEmptyLines?: boolean;
truncateBase64?: boolean;
headerText?: string;
instructionFilePath?: string;
includeEmptyDirectories?: boolean;
includeFullDirectoryStructure?: boolean;
splitOutput?: number;
gitSortByChanges?: boolean;
includeDiffs?: boolean;
includeLogs?: boolean;
includeLogsCount?: number;
include?: string;
ignore?: string;
gitignore?: boolean;
dotIgnore?: boolean;
defaultPatterns?: boolean;
stdin?: boolean;
remote?: string;
remoteBranch?: string;
remoteTrustConfig?: boolean;
skipLocalConfig?: boolean;
config?: string;
init?: boolean;
global?: boolean;
securityCheck?: boolean;
tokenCountEncoding?: string;
tokenCountTree?: boolean | number;
mcp?: boolean;
skillGenerate?: string | boolean;
skillName?: string;
skillDir?: string;
skillProjectName?: string;
skillSourceUrl?: string;
skillOutput?: string;
force?: boolean;
topFilesLen?: number;
verbose?: boolean;
quiet?: boolean;
}