cloudfoundry/log-cache-cli

Proposal: Subcommands

Closed this issue · 1 comments

poy commented

Use subcommands to organize behavior and reflect the LogCache API

cf log-cache

This is the base command. It only displays available subcommands.

cf log-cache tail [options] <source-ID>

Read tail of log-cache. This is the same as cf log-cache is currently.

cf log-cache meta

Display available meta information.

This leaves plenty of room for adding new functionality while not cluttering anything (e.g., groups, web hooks, etc...). It improves discoverablity as a user will be guided to what features are available.

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/154874605

The labels on this github issue will be updated when the story is started.