Metadata-Version: 2.1
Name: lsp-devtools
Version: 0.1.1
Summary: Developer tooling for language servers
Author-email: Alex Carney <alcarneyme@gmail.com>
License: MIT
Project-URL: Bug Tracker, https://github.com/swyddfa/lsp-devtools/issues
Project-URL: Documentation, https://swyddfa.github.io/lsp-devtools/
Project-URL: Source Code, https://github.com/swyddfa/lsp-devtools
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: dev
Provides-Extra: test
Provides-Extra: typecheck
Provides-Extra: prometheus
License-File: LICENSE

# lsp-devtools: Developer tooling for language servers/clients

**This is in very early development.**

There are a few cli commands already

```
usage: lsp-devtools [-h] {capabilities,record} ...

Development tooling for language servers

options:
  -h, --help            show this help message and exit

commands:
  {capabilities,record}
    capabilities        dummy lsp server for recording a client's capabilities.
    record              record an LSP session.
```

```
usage: lsp-devtools record [-h] [-f FILE] [-r] [--format FORMAT] -- <SERVER_COMMAND>

This command runs the given language server command as a subprocess and records all messages sent between client and server.

options:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  save the log to a text file with the given filename

file options:
  these options only apply when --file is used

  -r, --raw             record all data, not just parsed messages
  --format FORMAT       format string to use with the log messages
```
