11 lines
193 B
Go
11 lines
193 B
Go
package main
|
|
|
|
// Command to manage this service.
|
|
type UpdateCmd struct{}
|
|
|
|
func (s *UpdateCmd) Run() (err error) {
|
|
config := ReadMinimalConfig()
|
|
CheckForUpdate(config.Update, false)
|
|
return
|
|
}
|