internal/cli/logs/logs.go
Function init
has 59 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func init() {
cmd := root.Command("logs", "Show log output.")
cmd.Example(`up logs`, "Show logs from the past hour.")
cmd.Example(`up logs -S 30m`, "Show logs from the past 30 minutes.")
cmd.Example(`up logs -S 5h`, "Show logs from the past 5 hours.")