feat: port influx setup
from influxdb
(#35)
This commit is contained in:
12
internal/stdio/stdio.go
Normal file
12
internal/stdio/stdio.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user