task2md
A CLI tool to generate from Task files, some markdown
documentation files for mkdocs static site.
Usage: task2md [OPTIONS] COMMAND [ARGS]...
A CLI tool to generate markdown documentation files from Task files.
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
dir Command to generate a markdown documentation file from a directory.
file Command to generate a markdown documentation file from a Task file.
dir
Get all files with yaml/yml extension from the input directory and generate the
markdown files in the output directory.
Usage: task2md dir [OPTIONS]
Command to generate a markdown documentation file from a directory.
Raises: click.ClickException: Error when reading input file or writing
output file
Options:
-i, --input DIRECTORY Input directory [required]
-d, --dir DIRECTORY Output markdown documentation files directory.
Default current directory.
--help Show this message and exit.
Example:
task2md dir --input Taskfile.d/ -d doc_dir/
file
Generate from the input file a markdown file in the output directory.
Usage: task2md file [OPTIONS]
Command to generate a markdown documentation file from a Task file.
Raises: click.ClickException: Error when reading input file or writing
output file
Options:
-i, --input FILE Input Task yaml file. [required]
-d, --dir DIRECTORY Output markdown documentation files directory. Default
current directory.
--help Show this message and exit.
Example:
task2md file --input Taskfile.d/lint.yml -d doc_dir/
Installation
With Python environment
To use:
- Minimal Python version: 3.14
Installation with Python pip:
python3 -m pip install task2md
task2md --help
Authors
- FX Soubirou - Initial work - GitLab repositories
License
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License (MIT). See the LICENSE for details.
Release files for task2md 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| task2md-1.2.1.tar.gz | 61.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| task2md-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 72.5 kB
Release files / task2md-1.2.1.tar.gz
| Download URL | task2md-1.2.1.tar.gz |
|---|---|
| Size | 61.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88aaacd790e71d4fc2238da02ca6625d8cfbda7822932c384c1ad79b7fdbde47
|
|
BLAKE2b-256 checksum How to use checksums |
f27533e24b4cf326210e1daa6cf27ba26a0a38f0072b2a06a823a6e50c77991f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / task2md-1.2.1-py3-none-any.whl
| Download URL | task2md-1.2.1-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12e1bdb73d201461ca05c97319225d8bcae6a48874ed4bebed007a4a1bb9fc5f
|
|
BLAKE2b-256 checksum How to use checksums |
f947605ec76203b15bc7ef896f8ed95638925ce978585b6f14c470ac2285bc19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|