chore(command): support windows (#153)

This commit is contained in:
Bo-Yi Wu
2023-02-03 17:12:57 +08:00
committed by GitHub
parent 4c5df18366
commit c309cf901d
3 changed files with 28 additions and 5 deletions
+12
View File
@@ -0,0 +1,12 @@
//go:build !windows
// +build !windows
package main
func rmcmd(target string) string {
return "rm -rf " + target
}
func mkdircmd(target string) string {
return "mkdir -p " + target
}