cmds

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package cmds parses a comment string from a document template.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCmd

func ParseCmd(cmd string) (string, string, error)

ParseCmd parses and verifies a single command.

func ParseCmds

func ParseCmds(cmdStr string) ([]string, []string, error)

ParseCmds parses cmd strings into arrays of directories and actions. Directories are validated while the actions are context sensitive. The first entry must contain a relative directory component however subsequent entries that do not specify a directory will default to the last directory defined.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL