Files
p2p-rendering-computation/main.go
2021-04-11 01:26:55 +04:00

30 lines
614 B
Go

package main
import (
"git.sr.ht/~akilan1999/p2p-rendering-computation/cmd"
"github.com/urfave/cli/v2"
"log"
"os"
)
// VERSION specifies the version of the platform
var VERSION = "1.0.0"
var mode string
// Varaibles if mode is client
var OS, Pull_location ,Run_script string
var List_servers, Ip_table bool
func main() {
app := cli.NewApp()
app.Name = "p2p-rendering-computation"
app.Usage = "p2p cli application to create and access VMs in other servers"
app.Version = VERSION
app.Flags = cmd.AppConfigFlags
app.Action = cmd.CliAction
err := app.Run(os.Args)
if err != nil {
log.Fatal(err)
}
}