map-dots/run/cli.go

20 lines
552 B
Go
Raw Normal View History

2023-08-11 14:32:44 +01:00
package run
import "fmt"
func CLI(height, width uint64, style, format, input string) {
fmt.Printf("Running CLI mode with height=%d, width=%d, type=%s, input=%s\n", height, width, style, input)
fmt.Println("CLI Mode not implemented")
if input == "traccar" {
envCheck()
// Use traccar package to fetch data
// Pass fetched data to imageing package
}
// Check that `input` is a valid filepath and points to a valid file.
// Use relevent package to parse file
// Pass parsed data to imaging package
fmt.Println("End of implementation")
}