mirror of
https://github.com/foomo/posh.git
synced 2025-10-16 12:45:38 +00:00
17 lines
305 B
Go
17 lines
305 B
Go
package tree
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/foomo/posh/pkg/prompt/goprompt"
|
|
"github.com/foomo/posh/pkg/readline"
|
|
)
|
|
|
|
type Arg struct {
|
|
Name string
|
|
Description string
|
|
Repeat bool
|
|
Optional bool
|
|
Suggest func(ctx context.Context, t Root, r *readline.Readline) []goprompt.Suggest
|
|
}
|