// Execute unzips a file to a defined location
Execute unzips a file to a defined location
// Execute unzips a file to a defined location
func (unzip Unzip) Execute() model.Result {
	fmt.Println(unzip.Description)
	log.Printf("Unzipping %s to %s", unzip.Source, unzip.Destination)
	s := spinner.New(spinner.CharSets[9], 100*time.Millisecond)
	s.Start()
	result := unzipFile(unzip.Source, unzip.Destination)
	s.Stop()
	return result
}
func ( unzip Unzip ) Execute ( ) model . Result { fmt . Println ( unzip . Description ) log . Printf ( " " , unzip . Source , unzip . Destination ) s := spinner . New ( spinner . CharSets [ 9 ] , 100 * time . Millisecond ) s . Start ( ) result := unzipFile ( unzip . Source , unzip . Destination ) s . Stop ( ) return result }
Execute unzips a file to a defined location
Execute unzips a file to a defined location