Conditions | 9 |
Total Lines | 18 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | package main |
||
23 | func main() { |
||
24 | flag.Parse() |
||
25 | if (URI == "" && OutputFileName == "" && IsIndex == false) || (URI == "" && IsIndex == false) { |
||
26 | help() |
||
27 | } |
||
28 | if(Verbose){ |
||
29 | fmt.Println(IsIndex) |
||
30 | } |
||
31 | if IsIndex { |
||
32 | if(Verbose){ |
||
33 | fmt.Println("Batch process started for index file") |
||
34 | } |
||
35 | batchProcess(URI) |
||
36 | } else { |
||
37 | singleProcess(URI, OutputFileName) |
||
38 | } |
||
39 | |||
40 | fmt.Println("Completed") |
||
41 | } |
||
70 |