reqtk 0.1.0

ReqTk is a requirements management toolkit built around a human-readable, git-friendly `.req` file format.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::*;

pub struct MdEx;

impl RequirementTreeExport for MdEx {
    fn extension(&self) -> &'static str {
        "md"
    }

    fn export(
        &self,
        location: &Location,
        mut req_tree: RequirementTree,
    ) -> Result<(), CommandError> {
        req_tree.clear_spans();
        MarkdownExporter::export(location.clone(), &req_tree)
    }
}