init
This commit is contained in:
commit
fa47df6d89
22 changed files with 1724 additions and 0 deletions
19
main.go
Normal file
19
main.go
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
)
|
||||
|
||||
func main() {
|
||||
if len(os.Args) == 2 && os.Args[1] == "server" {
|
||||
serverMain()
|
||||
return
|
||||
}
|
||||
if len(os.Args) == 4 && os.Args[1] == "import" {
|
||||
importMain(os.Args[2], os.Args[3])
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Println("usage: main [import/server] <import file path> <import video target name>")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue