Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShowInPager ¶
func ShowInPager(content string, opts *PagerOptions) error
ShowInPager displays content using the configured pager
func SortProjectsByName ¶
SortProjectsByName sorts a slice of projects alphabetically by name (case-insensitive)
func WriteToPager ¶
func WriteToPager(opts *PagerOptions) (io.WriteCloser, error)
WriteToPager creates a writer that will display content through a pager
Types ¶
type PagerOptions ¶
type PagerOptions struct {
// Pager command to use (e.g., "less", "more")
Pager string
// Whether to force pager even if not a TTY
Force bool
// Whether to disable pager
NoPager bool
}
PagerOptions contains options for the pager
type UserResolver ¶
type UserResolver struct {
// contains filtered or unexported fields
}
UserResolver helps resolve user identifiers to Person objects
func NewUserResolver ¶
func NewUserResolver(client api.APIClient, projectID string) *UserResolver
NewUserResolver creates a new user resolver for a project
func (*UserResolver) ResolveUsers ¶
ResolveUsers resolves a list of user identifiers to person IDs Supports: - Email addresses: john@example.com - @mentions: @john (matches by name, case-insensitive) - Mixed: @john,jane@example.com
Click to show internal directories.
Click to hide internal directories.