Files
iris-context/commands/fs/find.go
VERSE ebde9ba68f refactor(commands): separate commands and its core into two folders (#32)
- I think it would be better if one for commands only, one for the spec
handling core logic so people won't be confused by the core logic inside
the commands folder (cleaner I guess)
- Regen docs
2026-07-05 11:27:30 +07:00

19 lines
549 B
Go

package fs
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "find",
Description: "Walk a file hierarchy",
Options: []spec.Option{
{Name: "-E", Description: "Permit find to be safely used in conjunction with xargs"},
{Name: "-d", Description: "Cause find to perform a depth-first traversal"},
{Name: "-f", Description: "Specify a file hierarch for find to traverse"},
{Name: "-s", Description: "Cause find to traverse the file hierarchies in lexicographical order"},
},
})
}