Documentation
¶
Overview ¶
Package mdcred converts markdown credential definitions to VCTM format files using the mtcvctm library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConvertResult ¶
type ConvertResult struct {
Slug string // base name without .md extension
Files map[string]string // format name → output file path
}
ConvertResult describes a credential converted from markdown.
func ConvertDir ¶
func ConvertDir(dir, baseURL string) ([]ConvertResult, error)
ConvertDir scans dir (and subdirectories) for markdown credential files (those with vct: in YAML front matter) and converts them to VCTM format files alongside the source markdown. It returns the list of converted credentials. Already-existing output files are skipped (the repo may have pre-built them).
Click to show internal directories.
Click to hide internal directories.