Skip to main content

Collects docs from a doc folder into a single xml file for use by claude

Project description

llamda-cli

llamda-cli](https://pypi.org/project/llamda-cli/) GitHub Workflow Status GitHub

A set of command line tools for working with LLMs.

Installation

To install the CLI, run:

pip install llamda-cli

Usage

lld [OPTIONS] COMMAND [ARGS]...

lld docs

Useful in case you use Anthropic's Claude.

Collects all markdown files from a directory (recursively) and writes them to an xml file.

 Usage: lld docs [OPTIONS] PATH                                                                
                                                                                               
 Collect docs from a path and write them to an xml file ready for Anthropic's Claude.          
                                                                                               
╭─ Options ───────────────────────────────────────────────────────────────────────────────────╮
│ --outfile  -o  PATH  The output file path. Defaults to: /{current_dir}/{source_dirname}.xml │
│ --verbose  -v        Verbose output.                                                        │
│ --yes      -y        Automatically confirm all prompts.                                     │
│ --help               Show this message and exit.                                            │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯

Output file format:

<collection>
<title>Title</title>
<document><path>path/to/file</path>
<content>
# Document Title

Document content
</content>
</document>
...
</collection>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llamda_cli-0.1.10.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

llamda_cli-0.1.10-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page