| 1 | module main |
| 2 | |
| 3 | import os |
| 4 | |
| 5 | fn main() { |
| 6 | args := os.args[2..] |
| 7 | if args.len == 0 || args == ['help'] || '-help' in args || '--help' in args { |
| 8 | os.system('${os.quoted_path(vexe)} help where') |
| 9 | exit(0) |
| 10 | } |
| 11 | mut fdr := Finder{} |
| 12 | fdr.configure_from_arguments(args) |
| 13 | fdr.search_for_matches() |
| 14 | fdr.show_results() |
| 15 | } |
| 16 |