Imports github.com/spf13/pflag github.com/spf13/viper github.com/textileio/go-log/v2 Standard library imports encoding/json fmt os os/signal strings syscall time