Implement status sub command.