MCPcopy
hub / github.com/cloudfoundry/cli / LogsCommand

Struct LogsCommand

command/v7/logs_command.go:16–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14)
15
16type LogsCommand struct {
17 BaseCommand
18
19 RequiredArgs flag.AppName `positional-args:"yes"`
20 Recent bool `long:"recent" description:"Dump recent logs instead of tailing"`
21 usage interface{} `usage:"CF_NAME logs APP_NAME"`
22 relatedCommands interface{} `related_commands:"app, apps, ssh"`
23
24 LogCacheClient sharedaction.LogCacheClient
25}
26
27func (cmd *LogsCommand) Setup(config command.Config, ui command.UI) error {
28 err := cmd.BaseCommand.Setup(config, ui)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected