Documentation
¶
Overview ¶
Package command provides slash command parsing and validation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InferName ¶
InferName derives a command name from a file path. It extracts the filename and strips the .md extension.
Transformation rules:
- review.md -> review
- my-command.md -> my-command (case preserved)
- /path/to/review.md -> review (path stripped)
- review -> review (no extension = unchanged)
- file.test.md -> file.test (only .md stripped)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.