#54 add api deps command

This should be printed to stdout, not stderr, so that its output can be captured by tools that expect it to arrive on stdout.

Try this:

```go
return json.NewEncoder(os.Stdout).Encode(depSlice)
```