.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH alpm-repo-files-format 1 "alpm-repo-files-format " .SH NAME alpm\-repo\-files\-format \- Read and validate alpm\-repo\-files data and return it in another file format. .SH SYNOPSIS \fBalpm\-repo\-files format\fR [\fB\-i\fR|\fB\-\-input\-file\fR] [\fB\-f\fR|\fB\-\-format\fR] [\fB\-o\fR|\fB\-\-output\fR] [\fB\-p\fR|\fB\-\-pretty\fR] [\fB\-h\fR|\fB\-\-help\fR] .SH DESCRIPTION Read and validate alpm\-repo\-files data and return it in another file format. .PP If the data can be validated, the program exits with the data returned in another file format on stdout and an exit code of zero. If the file can not be validated, an error is emitted on stderr and the program exits with a non\-zero exit code. .SH OPTIONS .TP \fB\-i\fR, \fB\-\-input\-file\fR \fI\fR An input file to read from. If no file is provided, stdin is used instead. .RS May also be specified with the \fBALPM_REPO_FILES_FORMAT_INPUT_FILE\fR environment variable. .RE .TP \fB\-f\fR, \fB\-\-format\fR \fI\fR [default: json] Set the output format. .br .br \fIPossible values:\fR .RS 14 .IP \(bu 2 json: The JSON output format. .IP \(bu 2 v1: The alpm\-repo\-files output format. .RE .RS May also be specified with the \fBALPM_REPO_FILES_FORMAT_OUTPUT_FORMAT\fR environment variable. .RE .TP \fB\-o\fR, \fB\-\-output\fR \fI\fR A file path to write to. .RS May also be specified with the \fBALPM_REPO_FILES_FORMAT_OUTPUT\fR environment variable. .RE .TP \fB\-p\fR, \fB\-\-pretty\fR Determines whether the output will be displayed in a pretty non\-minimized fashion. Only applies to formats that support pretty output, otherwise it is ignored. .RS May also be specified with the \fBALPM_REPO_FILES_FORMAT_PRETTY\fR environment variable. .RE .TP \fB\-h\fR, \fB\-\-help\fR Print help (see a summary with \*(Aq\-h\*(Aq)