| 14 | ) |
| 15 | |
| 16 | type 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 | |
| 27 | func (cmd *LogsCommand) Setup(config command.Config, ui command.UI) error { |
| 28 | err := cmd.BaseCommand.Setup(config, ui) |
nothing calls this directly
no outgoing calls
no test coverage detected