mapbox/tilemill — Issue #1013: Better reporting on CLI
Author: lxbarth
Created: 2011-12-13 22:09:26+00:00
State: open

Using TileMill from the CL I find myself wanting for better reporting.

This is a quick stab at just logging any calls to PUT() to stdout/stderr: https://gist.github.com/1474055

Questions:

- I'm not sure how I feel about just stringify'ing what was supposed to be PUT https://skitch.com/alexbarth/gtdgs/terminal-node-100x50 - Should we start standardizing the payload of JSON so that a meaningful message can be generated? I. e. should we start expecing a 'message' property in the data hash that we can log to stdout/err? From my use case's perspective, JSON out is fine.
- Any issue with always logging to stdout/err, even if URL is available?
- In addition to better logging, we should return with an error code if a task failed.