Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "check-unlock-media", RunE: func(cmd *cobra.Command, args []string) (err error) { defer try.Handle(&err) tmpDir := try.E1(os.MkdirTemp("", "")) defer o.Remove(tmpDir) scriptPath := filepath.Join(tmpDir, "check.sh") try.E(download.Download(scriptURL, scriptPath)) try.E(ex.Command("bash", scriptPath).Bind().Run()) try.E(o.Remove("bahamut_cookie.txt")) return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.