CLI tool for loading and parsing LXL MDP formatted prompt files. Node 24+ required.
npx mdp-copy --help
mdp-copy - v0.1.0
Copy a templated markdown file in LXL format (MDP) to the clipboard.
Positionals:
file The file to copy to the clipboard
Options:
Usage:
mdp-copy file.md
mdp-copy file.md --VAR_NAME valueHere --ANOTHER "contents here"
File formatted like https://github.com/extremeheat/LXL/blob/main/docs/MarkdownProcessing.md.
Today is %%%(DAY)%%%.
The contents of hello.txt is
```
%%%({ "file": "hello.txt" })%%%
```
world
npx mdp-copy test.md --DAY Monday
will copy this to clipboard:
Today is Monday
The contents of hello.txt is
```
world
```