feat(spec): better file path suggestions (#41)

Enhance file/folder suggestion
This commit is contained in:
VERSE
2026-07-26 20:43:05 +07:00
committed by GitHub
parent c4e9bcdd88
commit 27e0792560
24 changed files with 183 additions and 16 deletions
+3 -1
View File
@@ -7,7 +7,9 @@ import (
func init() {
spec.Register(&spec.Spec{
Name: "rich",
Description: "Defined by terminal, appearance may differ",
Description: "Rich terminal text formatting",
MaxArgs: 1,
Generator: spec.FileGenerator(),
Options: []spec.Option{
{Name: "-p", Description: "Print console markup. See https://rich.readthedocs.io/en/latest/markup.html"},
{Name: "-u", Description: "Display a horizontal rule"},