Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAndUpdate ¶
func CheckAndUpdate(config *core.Configuration, updatesEnabled, forceUpdate bool)
CheckAndUpdate checks whether we should update Please and does so if needed. If it requires an update it will never return, it will either die on failure or on success will exec the new Please. Conversely, if an update isn't required it will return. It may adjust the version in the configuration. updatesEnabled indicates whether updates are enabled (i.e. not run with --noupdate) forceUpdate indicates whether an update is specifically requested (due to e.g. `plz update`)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.