Documentation
¶
Overview ¶
Package refreshcmd implements `gro refresh` — the top-level cache control surface per cli-common/docs/working-with-state.md §4.6.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand registers `gro refresh` with the production client factory.
Types ¶
type ClientFactory ¶
type ClientFactory func(ctx context.Context) (DriveLister, error)
ClientFactory constructs a DriveLister for the refresh path. The --status branch never invokes it; the invariant test in refresh_test.go pins that.
type DriveLister ¶
type DriveLister interface {
}
DriveLister is the narrow seam refreshcmd needs from a Drive client — only ListSharedDrives. Matches the signature in internal/cmd/drive/output.go's DriveClient interface so the production factory satisfies it directly.
Click to show internal directories.
Click to hide internal directories.