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.2
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.2.tar.gz | 60.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| task2md-1.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 72.5 kB
Release files / task2md-1.2.2.tar.gz
| Download URL | task2md-1.2.2.tar.gz |
|---|---|
| Size | 60.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35ba172025d7d39485e29bf83c80f815619d031134bd9ae15cea740cd7de2c08
|
|
BLAKE2b-256 checksum How to use checksums |
bccd1fffb82768b3885de286c445e52de2f890523f21f1fa3b0f8675961db976
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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.2-py3-none-any.whl
| Download URL | task2md-1.2.2-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f0627951d18803123059b8acad1a368071e65925c8e3e904bbe70983bea10b0
|
|
BLAKE2b-256 checksum How to use checksums |
db4a48d011c5f2d76b16eadf50b184a53cef6a6c82b7abf484ffd981f9446c9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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}
|