Documentation
¶
Index ¶
- func ExtractMarkdownContent(content []byte) (string, error)
- func ParseCommand(fs util.FileSystem, path string) (*model.Command, error)
- func ParseCommandFromContent(path string, contentBytes []byte) (*model.Command, error)
- func ParseCommands(fs util.FileSystem, dir string) ([]model.Command, error)
- func ParseMarkdownFile(fs util.FileSystem, path string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractMarkdownContent ¶
ExtractMarkdownContent extracts the content of a markdown file without frontmatter
func ParseCommand ¶
ParseCommand parses a command definition from a file
func ParseCommandFromContent ¶
ParseCommandFromContent parses a command definition from provided content
func ParseCommands ¶
ParseCommands parses all command files in a directory
func ParseMarkdownFile ¶
func ParseMarkdownFile(fs util.FileSystem, path string) (string, error)
ParseMarkdownFile parses a markdown file and returns its content without frontmatter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.