+ main cmd switch

This commit is contained in:
Callan Bryant 2020-02-20 20:02:56 +00:00
parent ee4bd1a47f
commit b600d147fe
No known key found for this signature in database
GPG Key ID: C31FA9DF3ACBFFAA

View File

@ -2,9 +2,26 @@ package main
import (
"os"
"flag"
"github.com/naggie/dsnet"
)
func main() {
addCmd := flag.NewFlagSet("add", flag.ExitOnError)
switch os.Args[1] {
case "init":
case "up":
case "add":
case "report":
case "down":
default:
help();
}
}