mirror of
https://github.com/rwinkhart/rcw.git
synced 2026-08-28 04:46:42 -04:00
16 lines
161 B
Go
16 lines
161 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
"rcw/daemon"
|
|
)
|
|
|
|
func main() {
|
|
if len(os.Args) > 1 {
|
|
daemon.Start(os.Args[1])
|
|
} else {
|
|
fmt.Println(daemon.Call())
|
|
}
|
|
}
|