2021-02-02 12:05:47 +01:00
|
|
|
// Command miniooni is a simple binary for research and QA purposes
|
|
|
|
// with a CLI interface similar to MK and OONI Probe v2.x.
|
|
|
|
package main
|
|
|
|
|
2022-07-08 14:20:49 +02:00
|
|
|
//
|
|
|
|
// Main function
|
|
|
|
//
|
|
|
|
|
2021-02-02 12:05:47 +01:00
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"os"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
defer func() {
|
|
|
|
if s := recover(); s != nil {
|
2021-04-05 12:02:35 +02:00
|
|
|
fmt.Fprintf(os.Stderr, "FATAL: %s\n", s)
|
2021-02-02 12:05:47 +01:00
|
|
|
}
|
|
|
|
}()
|
2021-03-29 19:03:53 +02:00
|
|
|
Main()
|
2021-02-02 12:05:47 +01:00
|
|
|
}
|