Logo
pcidiscovery2.com

CDEX - A command-line minimal DEX

Installing CDEX on Windows

Download CDEX from this link:

Download CDEX for Windows 10 and 11

You should move the downloaded cdex.exe program to a directory in the path

Installing CDEX on Linux
Download CDEX for Linux

cdex has been tested on Linux Ubuntu 22.04 or later and Fedora 43.
You should move the downloaded cdex program to a directory in the path

Using Command-Line DEX
  • cdex <source csv file>
  • cdex <source csv file> <changed csv file>
  • cdex --target <target covariate name > <source csv file>
  • cdex --target <target covariate name > <source csv file> <changed csv file>

When the program starts, it lists all of the tagged covariates in the source CSV file. It also performs several validity checks on the CSV file, and warns of any issues it finds that would cause analysis to fail.

When the changed csv file name is not specified on the command line, the source will be proposed as the default. You can edit it using left and right arrows, HOME, END, backspace, and text insertion, then press RETURN when it is complete. ESC will exit without saving.

After any editing, if the specified save as path and file name would overwrite the source, you are warned and asked if it is OK to proceed.

when the --target covariate name is specified, you are asked to verify the change, and it will be made immediately.

When the --target command line option is not specified, you may change as many covariate tags as you wish, and specify any valid flag to apply to each selected covariate.