internal/cli/logs/logs.go

Summary

Maintainability
A
1 hr
Test Coverage

Function init has 59 lines of code (exceeds 50 allowed). Consider refactoring.
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.")
Severity: Minor
Found in internal/cli/logs/logs.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status