Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandPath ¶
Types ¶
type Config ¶
type Config struct { Concurrency int `toml:"concurrency"` Shell string `toml:"shell"` ShellCmdFlag string `toml:"shell_flag"` DotEnvs []string `toml:"dotenvs"` KeyBindings commander.KeyBindings `toml:"key_bindings"` Sources []Source `toml:"sources"` Database Database `toml:"database"` Logs Logs `toml:"logs"` CloneDirectories repofs.CloneDirectories `toml:"clone_directories"` }
func (Config) PrepareDirectories ¶
PrepareDirectories creates the directories for the configuration file, logs, and database file as required.
type Source ¶
type Source struct { Type SourceType `toml:"type"` Username string `toml:"username"` TokenKey string `toml:"token"` }
type SourceType ¶
type SourceType string
var SourceTypeGithub SourceType = "github"
func (SourceType) IsValid ¶
func (st SourceType) IsValid() bool
func (SourceType) String ¶
func (st SourceType) String() string
Click to show internal directories.
Click to hide internal directories.