Skip to content
Dimitrios Slamaris edited this page Oct 26, 2024 · 1 revision

Listing Commands

To list all available commands:

mdx -list

Executing a Command

To execute a specific command:

mdx MyCommand

Specifying a Markdown File

To specify a markdown file:

mdx -file myfile.md MyCommand

Setting Log Level

To set the log level to debug:

export MDX_LOG_LEVEL=DEBUG
mdx MyCommand

Flags

-file or -f

Specify a markdown file to load commands from. See also Environment Variables.

-list or -l

List all available commands.

-list-launchers or -ll

List all available launchers.

Environment Variables

MDX_LOG_LEVEL

Set the log level for the tool. Valid values are DEBUG, ERROR andWARN. Default is WARN.

MDX_FILE_DIR

Specify a directory to search for markdown files.

MDX_FILE_PATH

Specify a specific markdown file to load commands from.