https://github.com/ibizaman/mdsplitflake
MDSplit packaged as a flake
https://github.com/ibizaman/mdsplitflake
Last synced: 27 days ago
JSON representation
MDSplit packaged as a flake
- Host: GitHub
- URL: https://github.com/ibizaman/mdsplitflake
- Owner: ibizaman
- License: agpl-3.0
- Created: 2023-12-05T18:25:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-05T18:30:13.000Z (over 1 year ago)
- Last Synced: 2025-02-16T19:34:25.493Z (4 months ago)
- Language: Nix
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# MDSplit flake
This is an example of packaging a python application with flakes. To get the help output of the [`mdsplit`](https://github.com/markusstraub/mdsplit) command line interface, just run:
```bash
$ nix run github:ibizaman/mdsplitflake -- --help
usage: mdsplit [-h] [-e ENCODING] [-l {1,2,3,4,5,6}] [-t] [-o OUTPUT] [-f] [-v] [input]Split markdown files into chapters at a given heading level.
[...]
```You don't even need to clone this repo!
The packaging heavy lifting is done by [pyproject.nix](https://nix-community.github.io/pyproject.nix/), go to that link to see what else you can do.