zoazoazoa
Jes Olson j3s@c3f.net
Fri, 30 Sep 2022 18:53:13 -0500
1 files changed,
6 insertions(+),
6 deletions(-)
jump to
M
main.go
→
main.go
@@ -105,20 +105,20 @@ }
func printUsage() { // TODO: -v -h - fmt.Println(`usage: zoa [deploy | run] [remote host | path] + fmt.Println(`usage: zoa <path> || zoa deploy <remote host...> sorry, this shit is a work in progress details: - zoa run [path] will execute the zoa script in the path + zoa <path> will execute the code in the given zoa dir - zoa deploy [remote host] will ssh to the given server and: - - install zoa (if not installed) + zoa deploy <remote host...> will ssh to the given server and: + - install zoa to /usr/local/bin/ - copy the local zoa repo to the host - - execute zoa + - execute zoa on the remote host examples: - zoa run ./my-dir/main + zoa run ~/code/my-zoa-repo zoa deploy j3s.sh git.j3s.sh`) os.Exit(1) }