Documentation
¶
Index ¶
- Constants
- func DefaultCachePath(homeDirectory string, xdgDataHome string) string
- func DefaultKeymapBindings(scope string, action string) ([]string, bool)
- func DefaultPath(homeDirectory string, xdgConfigHome string) string
- func FormatGHCommand(arguments []string) string
- func ParseCommandLine(command string) []string
- func SaveThemePreset(configPath string, preset string) error
- func SaveThemePresetDefault(preset string) error
- type CacheConfig
- type Config
- func (config Config) ResolvedCache() (CacheConfig, error)
- func (config Config) ResolvedDisplay() DisplayConfig
- func (config Config) ResolvedLinks() LinksConfig
- func (config Config) ResolvedPullRequestSearches() []PullRequestSearch
- func (config Config) ResolvedStoryReview() story.Config
- func (config Config) ResolvedTheme() theme.Palette
- type DisplayConfig
- type KeymapOverrides
- type LinksConfig
- type PullRequestSearch
Constants ¶
View Source
const ( RepositoryStyleOwnerName = "owner_name" RepositoryStyleName = "name" )
Variables ¶
This section is empty.
Functions ¶
func DefaultCachePath ¶
func DefaultKeymapBindings ¶ added in v0.7.3
func DefaultPath ¶
func FormatGHCommand ¶
func ParseCommandLine ¶ added in v0.4.0
func SaveThemePreset ¶
func SaveThemePresetDefault ¶
Types ¶
type CacheConfig ¶
type CacheConfig struct {
Path string
}
func ResolveCacheConfig ¶
func ResolveCacheConfig(config CacheConfig) (CacheConfig, error)
type Config ¶
type Config struct {
Keymaps KeymapOverrides
PullRequests []PullRequestSearch
ThemePreset string
Theme theme.Palette
Display DisplayConfig
Links LinksConfig
StoryReview story.Config
Cache CacheConfig
}
func LoadDefault ¶
func (Config) ResolvedCache ¶
func (config Config) ResolvedCache() (CacheConfig, error)
func (Config) ResolvedDisplay ¶ added in v0.7.0
func (config Config) ResolvedDisplay() DisplayConfig
func (Config) ResolvedLinks ¶
func (config Config) ResolvedLinks() LinksConfig
func (Config) ResolvedPullRequestSearches ¶
func (config Config) ResolvedPullRequestSearches() []PullRequestSearch
func (Config) ResolvedStoryReview ¶
func (Config) ResolvedTheme ¶
type DisplayConfig ¶ added in v0.7.0
type DisplayConfig struct {
RepositoryStyle string
}
func ResolveDisplayConfig ¶ added in v0.7.0
func ResolveDisplayConfig(config DisplayConfig) DisplayConfig
type KeymapOverrides ¶
func DefaultKeymaps ¶
func DefaultKeymaps() KeymapOverrides
type LinksConfig ¶
type LinksConfig struct {
OpenCommand []string
}
func ResolveLinksConfig ¶
func ResolveLinksConfig(config LinksConfig) LinksConfig
type PullRequestSearch ¶
func DefaultPullRequestSearches ¶
func DefaultPullRequestSearches() []PullRequestSearch
func ResolvePullRequestSearches ¶
func ResolvePullRequestSearches(searches []PullRequestSearch) []PullRequestSearch
Click to show internal directories.
Click to hide internal directories.