mdp-copy
v0.1.0
Published
LXL MDP formated prompt copier
Readme
mdp-copy
CLI tool for loading and parsing LXL MDP formatted prompt files. Node 24+ required.
Install
npx mdp-copy --helpUsage
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.
Inline file loading
test.md
Today is %%%(DAY)%%%.
The contents of hello.txt is
```
%%%({ "file": "hello.txt" })%%%
```hello.txt
worldUsage
npx mdp-copy test.md --DAY Mondaywill copy this to clipboard:
Today is Monday
The contents of hello.txt is
```
world
```