mdp-copy

0.1.0 • Public • Published

mdp-copy

NPM version Build Status Gitpod ready-to-code

CLI tool for loading and parsing LXL MDP formatted prompt files. Node 24+ required.

Install

npx mdp-copy --help

Usage

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

world

Usage

npx mdp-copy test.md --DAY Monday

will copy this to clipboard:

Today is Monday
The contents of hello.txt is
```
world
```

Readme

Keywords

none

Package Sidebar

Install

npm i mdp-copy

Weekly Downloads

4

Version

0.1.0

License

MIT

Unpacked Size

7.77 kB

Total Files

14

Last publish

Collaborators

  • extremeheat