Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Settings 代表此 app 的環境變數 Settings = new(settings) // Flags 代表此 app 的 global flags Flags = flags() )
Functions ¶
func CheckForUpdates ¶
func CheckForUpdates(log *logrus.Logger, home paths.Home, metadata *release.Metadata, force bool) error
CheckForUpdates 檢查是否有更新的 slctl 版本
func IsGlobalFlag ¶
IsGlobalFlag 回傳此 flag 是否為 global flag
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.