class Hammerhead::Commands::Status

Implements the status command.

Using a Harvest.connection and a client Id, like one obtained via the clients command, this command prepares a 'status report' for display in the console.

This command warns about: an inactive client, a client with no active projects, or no timesheet entries for the period specified.

The output consists of the client's name, the text: 'Status Report (week ending <date>)', along with the timesheet entries returned. They are listed in project order, in entry order:

----------------------------------------

ACME Co, Inc

Status Report (week ending 9/19/20)

I worked 0 hours.
----------------------------------------