feat: port influx setup from influxdb (#35)

This commit is contained in:
Daniel Moran
2021-04-22 09:46:15 -04:00
committed by GitHub
parent 079f707c21
commit 68ad797ab7
37 changed files with 6669 additions and 121 deletions

12
internal/stdio/stdio.go Normal file
View File

@ -0,0 +1,12 @@
package stdio
import "io"
type StdIO interface {
io.Writer
Banner(message string) error
Error(message string) error
GetStringInput(prompt, defaultValue string) (string, error)
GetPassword(prompt string, minLen int) (string, error)
GetConfirm(prompt string) bool
}