Internal

internal/adapters/cli/providerinfo

Package providerinfo renders provider selection facts for CLI progress output shared by the review and harden subcommands.

import "github.com/nilstate/scafld/v2/internal/adapters/cli/providerinfo"

Package providerinfo renders provider selection facts for CLI progress output shared by the review and harden subcommands.

Functions

func First(values ...string) string

Source: internal/adapters/cli/providerinfo/label.go:55

First returns the first value with non-blank content.

func ProgressLabel(command string, provider string, model string, binary string, external configadapter.ExternalReviewConfig) string

Source: internal/adapters/cli/providerinfo/label.go:15

ProgressLabel renders "command[provider:model]" for live progress output, resolving the auto provider the same way the real selection will.