20 lines
552 B
Go
20 lines
552 B
Go
|
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")
|
||
|
}
|