Documentation ¶
Index ¶
- func Active(args []string)
- func Add(args []string)
- func CreateEmptyConfig()
- func DeleteProfile(config *Config, profile *Profile)
- func GetGitUser() (name string, email string)
- func Init(args []string)
- func List(args []string)
- func MoveTempFile()
- func Remove(args []string)
- func SaveConfig(config *Config)
- func Set(args []string)
- func SetActiveHost(remotename string, active string, desired string)
- func SetActiveProfile(config *Config, name string)
- func SetGitUser(settings *ProfileSettings)
- type Config
- type Profile
- type ProfileSettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEmptyConfig ¶
func CreateEmptyConfig()
func DeleteProfile ¶
func GetGitUser ¶
func MoveTempFile ¶
func MoveTempFile()
func SaveConfig ¶
func SaveConfig(config *Config)
func SetActiveHost ¶
func SetActiveProfile ¶
func SetGitUser ¶
func SetGitUser(settings *ProfileSettings)
Types ¶
type Config ¶
func LoadConfig ¶
func LoadConfig() (config Config)
type Profile ¶
type Profile struct { Name string Active bool Settings ProfileSettings }
func FindProfile ¶
type ProfileSettings ¶
func (*ProfileSettings) Fill ¶
func (settings *ProfileSettings) Fill()
Click to show internal directories.
Click to hide internal directories.