Add new main
This commit is contained in:
parent
6f9ebf4906
commit
2e6c882ca9
15
cmd/lsconvert/main.go
Normal file
15
cmd/lsconvert/main.go
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import "flag"
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
flag.Parse()
|
||||||
|
switch flag.Arg(0) {
|
||||||
|
case "convert":
|
||||||
|
convert(flag.Args()[1:])
|
||||||
|
case "init":
|
||||||
|
initRepository(flag.Args()[1:])
|
||||||
|
default:
|
||||||
|
convert(flag.Args())
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user